This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] chunked html with two-pass processing for profiles
- From: Jens Porup <jens at porup dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 15 Feb 2005 16:58:09 +1100
- Subject: [docbook-apps] chunked html with two-pass processing for profiles
G'day,
I'm banging my head against a wall here trying to get this to work.
I'm producing a tech spec in both PDF and HTML, using the condition profile to
markup sections relevant to each format.
Currently I can get everything from docbook to HTML no-chunks with no trouble.
But I want chunks, each chapter and some sections have id names. (In the past I
have been successfully using 'docbook2html -V "%use-id-as-filename%" tech_spec.xml'
but I want to move away from jade to xsltproc.)
So when I try and get this last litle bit working, I get Segmentation Faults
(when run from make), or if by hand I get:
compilation error: file temp.html.xml line 3 element book
xsltParseStylesheetProcess : document is not a stylesheet
Huh?
Here's my make target:
tech_spec_html: tech_spec.xml
cd tech_spec; \
xsltproc --output temp.html.xml \
--stringparam profile.condition html \
/usr/share/xml/docbook/stylesheet/nwalsh/profiling/profile.xsl \
../tech_spec.xml; #THIS WORKS
xsltproc --debug \ #BUT THIS DOESN'T
--stringparam use.id.as.filename \
/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl \
temp.html.xml;
--verbose gives me gibberish, and --debug gives me nothing at all. I don't see
any searchable archives of this list, so I am at my last tether here, so any
suggestions would be most appreciated!!!
Thanks,
Jens