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
| Current Thread |
- xpath question
- abbouh - Fri, 4 Jul 2003 07:02:54 -0400 (EDT)
- <Possible follow-ups>
- abbouh - Wed, 9 Jul 2003 09:29:46 -0400 (EDT) <=
- David Carlisle - Wed, 9 Jul 2003 09:50:03 -0400 (EDT)
- abbouh - Wed, 9 Jul 2003 10:20:33 -0400 (EDT)
- Jeni Tennison - Wed, 9 Jul 2003 10:41:56 -0400 (EDT)
- abbouh - Wed, 9 Jul 2003 11:04:21 -0400 (EDT)
|
|