This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: perl/docbook2-converter
- From: "Dave Brooks, BCS Systems" <dave at bcs dot co dot nz>
- To: "Matt G." <matt_g_ at hotmail dot com>, thomas dot porschberg at osp-dd dot de
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 01 May 2002 12:54:26 +1200
- Subject: Re: DOCBOOK-APPS: Re: perl/docbook2-converter
Use an XSLT library and call it from perl to transform XML Docbook sources
using the XSL style sheets. Or go all the way and use Ax-Kit
(http://www.axkit.org/) to directly serve XML via Apache.
Dave
At 00:46 1/05/2002 +0000, Matt G. wrote:
>>From: Thomas Porschberg <thomas.porschberg@osp-dd.de>
>>To: docbook-apps-digest@lists.oasis-open.org
>>Subject: DOCBOOK-APPS: perl/docbook2-converter
>>Date: Tue, 30 Apr 2002 10:24:11 +0200
>>
>>At the moment I convert my docbook-apps with
>>jade or xsltproc. Is there a way with perl too?
>
>You might consider that there are good reasons why DSSSL and XSL were
>created for the task of transforming and formatting SGML and XML documents.
>That said, I'm not aware of a full implementation of DSSSL (i.e. one that
>includes the transformations portion), since XSLT basically supercedes it.
>XSLT packs a surprising amount of text processing power, given the small
>number of constructs it provides, but that's really not what it was
>designed for. So, there might be some good reasons to preprocess or query
>XML DocBook documents with other tools or languages, such as Perl, but you
>consider whether it's really the best tool for the job.