This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Simplifying the XSL transform commands
- From: Dennis Grace <dgrace at us dot ibm dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 28 Feb 2002 15:48:51 -0600
- Subject: DOCBOOK-APPS: Simplifying the XSL transform commands
I've been using xsltproc on Linux to produce html files from DocBook XML
with a customization layer. My xsltproc commands look like this:
xsltproc -o <filename>.htm /usr/share/sgml/docbook/ldoc.xsl
<filename>.xml
I'd like to simplify the process for new writers. With that in mind, I have
two questions:
1. The xsltproc man page says the XML file can include a stylesheet
processing instruction. Anyone here know how that works?
2. Is it possible to include an instruction in the XSL customization layer
that will direct the output to use the principal tag id as the name (so
that, for instance, a DocBook XML article with the id attribute set to
'fred'
<article id="fred">
would generate output file fred.htm)?
Thanks.
Dennis Grace
Information Developer
IBM Linux Technology Center
(512) 838-3937 T/L 678-3937 cell: (512)-296-7830
dgrace@us.ibm.com
This sentence no verb.