This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: xhtml and hhp
- From: Jirka Kosek <jirka at kosek dot cz>
- To: David Cramer <dcramer at broadjump dot com>
- Cc: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 24 Mar 2002 17:55:21 +0100
- Subject: Re: DOCBOOK-APPS: xhtml and hhp
- References: <97B71B827DFB2B448A73EC00E5DA0EE602A044@logos.inhouse.broadjump.com>
David Cramer wrote:
> > If you want XHTML output, use xhtml/docbook.xsl or xhtml/chunk.xsl. If
> > you want HTML Help just use htmlhelp/htmlhelp.xsl stylesheet.
>
> Well, I've customized htmlhelp.xsl to use xhtml/chunk.xsl. I'm feeding
> the resulting xhtml chunks to hhc.exe, but hhc.exe complains about the
> xml encoding at the top of each file. What I want to do is produce well
> formed xml chunks without the xml declaration. Exactly why we want this
> is a long story. I'm wondering if it might just be better to remove the
> xml declarations with sed before feeding the project to hhc.exe.
If <xsl:output omit-xml-declaration="yes"/> doesn't help, than smth.
like sed might be faster way to hack it.
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz