[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Help with XPath statement
Raymond Bissonnette wrote: > I'm stuck with XSLT 1.0 (ASP.NET) and worse, what I'm after is > to get a list of <set ... > nodes with the SelectNodes method > of an XmlDocument. I don't know XmlDocument. If you want XSLT, change <xsl:value-of select="."/> by <xsl:copy-of select=".."/> in the solution Ken proposed to you. If you want an XPath: section[@id = '0802']/set[ not(@key = ../following-sibling::section/set/@key) ] | section[@id = '0803']/set or: section[@id = '0802']/set[ not(@key = ../../section[@id = '0803']/set/@key) ] | section[@id = '0803']/set should be what you are after. Not tested! Regards, --drkm _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
|
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
|