Subject: [xsl] Selecting the first node set From: "Fraser Goffin" <goffinf@xxxxxxxxxxx> Date: Sat, 05 Aug 2006 12:21:58 +0100 |
<Trade> <UnknownName1> <Value> <enum>A</enum> <enum>B</enum> <enum>C</enum> </Value> </UnknownName1> <UnknownName2> <Value>/Trade//Value[ancestor::Trade]</Value> </UnknownName2> <Treatment> <UnknownName3> <Value> <enum>D</enum> <enum>E</enum> <enum>F</enum> </Value> </UnknownName3> </Treatment> </Trade>
/Trade//Value - returns all 3 <Value> nodes /Trade//Value[1] - also returns all 3 <Value> nodes (why is that ?) /Trade//Value[2] - returns nothing (why is that ?)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Problems with tag <img sr, Michael Kay | Thread | Re: [xsl] Selecting the first node , CyberSpace Industrie |
Re: [xsl] OO 2.0.3/xhtml export/DCM, Gannon Dick | Date | RE: [xsl] Selecting the first node , cknell |
Month |