[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How to output a subset of preceeding nodes

Subject: How to output a subset of preceeding nodes
From: "Steve Carton" <scarton@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Sep 2000 13:14:04 -0400
steve carton
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.