Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in XML only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
XML
Xpath to get the nearest preceding sibling - howto?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
senglory
New Member
Join Date:
Sep 2008
Posts:
11
#1
Xpath to get the nearest preceding sibling - howto?
Nov 18 '09, 09:32 PM
I need to write a Xpath for getting the closest sibling to the current node. It should return exactly 1 element. How to write it?
Dormilich
Recognized Expert
Expert
Join Date:
Aug 2008
Posts:
8694
#2
Nov 19 '09, 09:13 AM
do it like in the tutorials, add its number. (compareable to an array)
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment