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

Subject: chunked html with two-pass processing for profiles


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


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 \

--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!!!



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