← Prev in month ← Prev in thread

chunked html with two-pass processing for profiles

From
Jens Porup <>
Date
2005-02-15T05:58:13+00:00
ID
Thread
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
← Prev in month ← Prev in thread