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] |
Jens, On Wed, Feb 23, 2005 at 03:09:47PM +1100, Jens Porup wrote: > Well, this is what my make target looks like: > > xsltproc --output temp.html.xml \ > --stringparam profile.condition html \ > /usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \ > ../tech_spec.xml; \ > xsltproc \ > --stringparam use.id.as.filename 1 \ > --stringparam spacing.paras 1 \ > --stringparam make.valid.html 1 \ > --stringparam chunker.output.indent yes \ > /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl \ > temp.html.xml; > > The xsl stylesheets are already mentioned--what does mentioning them > twice serve? It was the `--xinclude` argument that I was suggesting. If I understand the above make target correctly, the file '../tech_spec.xml' is the one that contains the XInclude elements, yes? If so, then you need to instruct xsltproc (like xmllint) to perform xinclude processing before XSLT processing: the `--xinclude` argument does that. I think your new make target would look like: xsltproc --output temp.html.xml \ --xinclude \ --stringparam profile.condition html \ /usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \ ../tech_spec.xml; \ xsltproc \ --stringparam use.id.as.filename 1 \ --stringparam spacing.paras 1 \ --stringparam make.valid.html 1 \ --stringparam chunker.output.indent yes \ /usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl \ temp.html.xml; (The new line is line #2.) Take care, John L. Clark
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |