[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Generating separate closing tags in XHTML webhelpoutput
Peter Desjardins wrote: > I use Saxon 6.5.5 and I found this posting that indicates separate > closing tags are controlled by the output method: > > http://p2p.wrox.com/xslt/57175-saxon-prevent-closing-empty-elements.html > > The webhelp.xsl file in the DocBook webhelp distribution already sets > the output method to HTML but I still see <a id="something" /> in the > resulting XHTML. I'm not sure it's possible to convince Saxon to use You have to use XHTML output method, which is not standard in XSLT 1.0, but it is supported by Saxon. Just use the following parameters in your customization layer: <xsl:param name="chunker.output.method">saxon:xhtml</xsl:param> <xsl:param name="chunker.output.indent">yes</xsl:param> <xsl:param name="chunker.output.omit-xml-declaration">yes</xsl:param> Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]