Re: indexterm between two para tags

Melanie Rösch <[email protected]> Thu, 17 Jun 2004 15:46:55 +0200
Newsgroups gmane.text.docbook.db2latex.general
Message-ID <[email protected]>
Hi,

this works. Thank you.

><xsl:template match="indexterm">
>    <xsl:if test="not(preceding-sibling::para) and following-sibling::para">
>        <xsl:text>&#10;</xsl:text>
>    </xsl:if>
>    <xsl:apply-imports/>
>    <xsl:if test="not(preceding-sibling::para) and following-sibling::para">
>        <xsl:text>%</xsl:text><!-- gobble following para's initial newline -->
>    </xsl:if>
>    <xsl:if test="preceding-sibling::para">
>        <xsl:text>&#10;</xsl:text>
>    </xsl:if>
></xsl:template>
>  
>


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND