[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: processin each element not on a list
Hello Dan,
a really efficient solution is the usage of keys: <xsl:key name="choices" match="choice" use="."/> <xsl:template match="root"> <xsl:apply-templates select="items"/> </xsl:template> <xsl:template match="items"> <xsl:apply-templates select="item[not(key('choices', .))]"/> </xsl:template> <xsl:template match="item"> ... </xsl:template> Regards, Joerg Dan Diebolt wrote: I have xml in substantially the following form: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|