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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSL copy-of problem with , Michael Kay | Thread | [xsl] Reading the XML declaration u, Kenneth Stephen |
RE: [xsl] xslt phases for FAQ, was, Jarno.Elovirta | Date | RE: [xsl] unexpected <TD> tags, Michael Kay |
Month |