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: Re: [docbook-apps] Getting Saxon XHTML to work

The difference shows up in how empty HTML elements are output:

<br/>  vs.  <br/ >
<img/> vs.  <img/ >

The saxon:xhtml method adds the space after the closing "/" in empty tags. 
It is the HTML compatibility feature that some browsers need to understand 

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Johnson, Eric" <Eric.Johnson@iona.com>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, January 02, 2008 3:02 PM
Subject: [docbook-apps] Getting Saxon XHTML to work

I'm trying to get Saxon to output XHTML. Following the instructions in
Bob's book I added the Saxon extensions to my customization layer:
<?xml version="1.0" encoding="UTF-8"?>


<xsl:import href="../lib/docbook-xsl/xhtml/chunk.xsl"/>

<xsl:import href="ziona_all.xsl"/>

<xsl:import href="ziona_html_all.xsl"/>

<xsl:import href="ziona_html_multipart.xsl"/>

<xsl:import href="ziona_html_break_on_section.xsl"/>

<xsl:import href="ziona_html_wholebook.xsl"/>

<xsl:import href="ziona_html_chunker.xsl"/>

<xsl:import href="fuse_html_user_head_content.xsl"/>

<xsl:import href="ziona_html_olinks_use.xsl"/>

<xsl:import href="ziona_html_callouts_use.xsl"/>

<xsl:import href="ziona_html_titlepage.xsl" />

<xsl:import href="ziona_html_override_abstract.xsl" />

<xsl:import href="fuse_footer_content.xsl"/>

<xsl:output method="saxon:xhtml" />


However, it does not seem to have any effect at all on the output. What
am I missing?

Eric J.

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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