Subject: [xsl] Enumerating elements using a relative path From: "David Nesbitt" <dnesbitt@xxxxxxxxxxxxxxxxx> Date: Tue, 21 Nov 2006 12:09:17 -0800 |
I am confused about how elements get accessed using a relative path from the context node. Suppose the following XML: <a> <b> <d>1</d> <d>2</d> <d>3</d> </b> <c/> </a> If element "c" is my context node, I try to do the following: <xsl:for-each select"../b/d"> I see to get 1, 2, and then 1 again, instead of 1, 2, 3. Am I missing something with how to enumerate these "d" elements using a relative path? Regards, Dave
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Again about bug in libxslt 1., Davor Emard | Thread | RE: [xsl] Enumerating elements usin, Michael Kay |
Re: [xsl] sort by xsl:if and then s, Rashmi Rubdi | Date | RE: [xsl] Enumerating elements usin, Michael Kay |
Month |