docbook-apps

Re: [docbook-apps] listitem/para output in XHTML

  • 1.  Re: [docbook-apps] listitem/para output in XHTML

    Posted 12-13-2010 17:07
    Hi Dave,
    The extra space is an artifact of some browsers, not all. It should not appear in that context. That said ...

    The

    tag is coming from the <para> element inside the listitem. Actually, the first para in the listitem. This template customization would remove the p wrapper:

    <xsl:template match="listitem/*[1][self::para]">
    <xsl:apply-templates/>
    </xsl:template>

    I suspect you might also accomplish the formatting change with CSS, although I'm not clear how.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net