This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xhtml and hhp
- From: David Cramer <dcramer at broadjump dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 22 Mar 2002 15:33:48 -0600
- Subject: DOCBOOK-APPS: xhtml and hhp
Hi there,
I need my html output to be well-formed xml--we want to be able to
perform xsls on the output to figure out what images are being referred
to etc. I've switched to 1.48 of the xhtml xsls (using Saxon 6.5.1) and
things work well for monolithic html and chunked html output. For html
help, however, hhc.exe doesn't like the xml declaration and complains
about it on each html page it compiles:
HHC3004: Warning: go01.html : The HTML tag "?xml version="1.0"
encoding="ISO-885
9-1"?" is not a valid HTML tag (it does not begin with an alphanumeric
character
).
For smaller documents it goes ahead and makes a chm. For larger
documents it quits, apparently due to the number of errors (tho it
doesn't really say why it's quitting). I'm trying to keep the xml
declaration from appearing in the output by adding <xsl:output
method="xml" omit-xml-declaration="yes"/> to my customization layer, and
even just changing the xsl:output elements from xhtml/docbook.xsl and
xhtml/calc-chunks.xsl in the distribution (those are the only ones I
found).
What am I missing?
Thanks,
David