We help IT Professionals succeed at work.

XPointer Expression

manjuns
manjuns asked
on
Medium Priority
357 Views
Last Modified: 2006-11-17
For this XPath expression
"descendant::Element1 | descendant::Element2 " what is equivalent XPointer Expression?
Comment
Watch Question

Commented:
XPointer is based on XPath (see http://www.w3.org/TR/WD-xptr#b2d250b5b9)

Try this:
"xpointer(descendant::Element1 | descendant::Element2)"

Author

Commented:
It give error for "xpointer"

fr.loria.xpointer.parser.ParseException: 1:1:encountered `xpointer', was expecting one of `"attr(", "span(", "string(", "ancestor", "child", "descendant", "following", "fsibling", "preceding", "psibling", "(", "root()", "origin()", "id(", "html("'

Author

Commented:
It give error for "xpointer"

fr.loria.xpointer.parser.ParseException: 1:1:encountered `xpointer', was expecting one of `"attr(", "span(", "string(", "ancestor", "child", "descendant", "following", "fsibling", "preceding", "psibling", "(", "root()", "origin()", "id(", "html("'

Author

Commented:
It give error for "xpointer"

fr.loria.xpointer.parser.ParseException: 1:1:encountered `xpointer', was expecting one of `"attr(", "span(", "string(", "ancestor", "child", "descendant", "following", "fsibling", "preceding", "psibling", "(", "root()", "origin()", "id(", "html("'

Commented:
Loria don't seem to support XPointer...
Why do you want to use XPointer. Pleqase explain your context and problem more in detail.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[Accept chabaud's comment as answer]
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
>S'Plug<
EE Cleanup Volunteer

Explore More ContentExplore courses, solutions, and other research materials related to this topic.