This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to output a subset of preceeding nodes


I need to use XSL/T in this manner:

<xsl:template match="P">
	<xsl:apply-templates />
	<xsl:call-template name="Dump Footnotes">
	<xsl:with-param name="fn" select="//FN"/>
	</xsl:call-template>
</xsl:template>

<xsl:template name="Dump Footnotes">
<xsl:param name="fn"/>
	<xsl:for-each select="$fn">
		<p/><xsl:value-of select="P"/>
	</xsl:for-each>
</xsl:template>

What I need to do is to process all FN elements located prior to the current
<P> element, BUT after the last set of <FN> elements I already processed!

Ideas?



-----------------------www.retrievalsystems.com
Steve Carton  703/749-0012
Retrieval Systems Corporation
2071 Chain Bridge Road, Suite 510
Vienna, VA  22182


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]