OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] processing modular docbook

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. 

> -----Original Message-----
> From: Stefan Seefeld [mailto:seefeld@sympatico.ca]
> Sent: Wednesday, April 07, 2010 9:54 AM
> To: docbook-apps@lists.oasis-open.org
> 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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]