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] | [Elist Home]


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.




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


Powered by eList eXpress LLC