Subject: Re: [xsl] attributes and elements From: "Bruce D'Arcus" <bdarcus@xxxxxxxxxxx> Date: Sat, 6 Dec 2003 09:48:30 -0500 |
Ouch, had a bad day. This should be <xsl:template match="text()" mode="filter-condition"/> in order to strip unwanted text nodes while filtering out elements with the desired condition.
article title --> title slide section title --> title slide
<xsl:template match="section"> <h1> <xsl:apply-templates select="title"/> </h1> <content> <xsl:apply-templates mode="filter-condition"/> </content> </xsl:template>
<xsl:template match="*[@type='screen']" mode="filter-condition"> <bullet> <xsl:apply-templates/> </bullet> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] attributes and elements, J.Pietschmann | Thread | Re: [xsl] attributes and elements, Bruce D'Arcus |
[xsl] Re: Easy way to identify node, yguaba | Date | Re: [xsl] attributes and elements, Bruce D'Arcus |
Month |