This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]