xsl-list
[Top] [All Lists]

xpath question

2003-07-09 06:41:27
i want to access to the preceding node N1 from a node N2
and also its  following node N3
so i use this instruction:
for N1 :  $N2/preceding-sibling::node()
for N3 :  $N2/following-sibling::node()
but it's not correct,i don't know why,

my xml file is like:

.......
<N1>
<N2>
<N3>
.......



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>