[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSL copy-of problem with extraction of a node based on child elem ent


Subject: Re: [xsl] XSL copy-of problem with extraction of a node based on child elem ent
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 20 Jan 2005 10:21:43 GMT

<xsl:copy-of select="contents/property/index[. = '003000001']"/>

that selects the index element with the property that it's equal to
'003000001' you want to select the property with the property that its
index child is equal to to '003000001' so just move th e[ up a level


<xsl:copy-of select="contents/property[index = '003000001']"/>

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread