Specifying the output directory of XSLT splitting transformations in LXML

mal920

New Member
I'm using Python's LXML library to run an XSLT against an XML document. This transformation uses the \[code\]exsl:document\[/code\] functions to split my XML into smaller XML documents. Here's what my command looks like:\[code\]<exsl:document href="http://stackoverflow.com/questions/10617182/{//@LedgerNo}.xml" method="xml">\[/code\]My script \[code\]script.py\[/code\] and the transformation \[code\]transform.xsl\[/code\] are in the same directory. When the transformation is run, the XML gets split successfully but the resultant files are created in the current working directory. Is there a way I could specify the output directory in LXML?Thanks
 
Back
Top