| From | Sent On | Attachments |
|---|---|---|
| Jens Porup | Feb 17, 2005 9:26 pm | |
| Bob Stayton | Feb 18, 2005 10:44 am | |
| Jens Porup | Feb 22, 2005 7:25 pm | |
| John L. Clark | Feb 22, 2005 7:56 pm | .pgp |
| Jens Porup | Feb 22, 2005 8:09 pm | |
| John L. Clark | Feb 22, 2005 8:39 pm | .pgp |
| Jens Porup | Feb 22, 2005 8:42 pm | |
| Jens Porup | Feb 22, 2005 9:08 pm | |
| Bob Stayton | Feb 22, 2005 11:27 pm | |
| Jens Porup | Feb 23, 2005 5:49 pm | |
| Bob Stayton | Feb 23, 2005 6:12 pm | |
| Jens Porup | Feb 23, 2005 10:01 pm | |
| Bob Stayton | Feb 23, 2005 11:18 pm | |
| Jens Porup | Feb 24, 2005 6:03 pm | |
| Bob Stayton | Feb 25, 2005 12:51 pm |
| Subject: | Re: [docbook-apps] using XIncludes | |
|---|---|---|
| From: | John L. Clark (jl...@po.cwru.edu) | |
| Date: | Feb 22, 2005 8:39:48 pm | |
| List: | org.oasis-open.lists.docbook-apps | |
| Attachments: | ![]() pgp00005.pgp - 0.2k | |
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






.pgp