lxml is a Pythonic binding for the libxml2 and libxslt libraries, not really a tool or script. For my process, the XML document is already in memory; it's actually faster to use the lxml library than to physically write out the file and make the system call to xsltproc. thanks, --Tim
> -----Original Message----- > From: Stefan Seefeld [mailto:[email protected]] > Sent: Wednesday, April 07, 2010 9:54 AM > To: [email protected] > Subject: Re: [docbook-apps] processing modular docbook > > On 04/07/2010 09:45 AM, Tim Arnold wrote: > > The next and final step is to produce XHTML from the DocBook intermediate > files. I'm doing that on FreeBSD 6.3 using python 2.6 and the lxml-2.2.2 > package which, in turn, uses the libxml2.6.30 and libxslt1.1.22 libraries. > > > > If all you do in this step is apply a set of stylesheets to transform DB > to XHTML, why don't you use xsltproc directly, instead of some Python > tool. I'm not sure what is involved in your (possibly custom) > transformation, but this appears to be the bottleneck in the pipeline, > and so looking into speeding that up may help quite a bit. > > > Regards, > Stefan > > > -- > > ...ich hab' noch einen Koffer in Berlin... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
