xsl-list
[Top] [All Lists]

Re: [xsl] Problem with xslfo

2006-10-11 07:46:54

Something like this
first have a template for notes that does nothing
<xsl:template match="note"/>
then when you apply temnplates to your input you will get
1.Some text here
2.Some text
Then before applyying templates you wnat to process all notes so

<xsl:template match="root">
<xsl:for-each select=".//note">
Note: <xsl:apply-templates/>
</xsl:for-each>
 <xsl:apply-templates/>
</xsl:template>

David



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--