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] listitem/para output in XHTML

Hi Dave,
The extra space is an artifact of some browsers, not all.  It should not appear in that context.  That said ...
The <p> 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]">
I suspect you might also accomplish the formatting change with CSS, although I'm not clear how.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
Sent: Monday, December 13, 2010 3:03 AM
Subject: [docbook-apps] listitem/para output in XHTML

For orderedlist and itemizedlist elements, I need to remove the <p> tag that is generated after <li> and <ul> in XHTML files. Currently, the <p> tag forces text that occurs in a listitem to be placed on the next line after the bullet point. Is there something I can change in the code for xsl:template match="d:itemizedlist/d:listitem ?
Dave Gardiner

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