This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xhtml and hhp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]