code_junkie

Select Element in a Namespace with XPath

Nov 11th, 2011
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. //*[in-scope-prefixes(.)='html']
  2.  
  3. //*[namespace-uri()='http://www.w3c.org/1999/xhtml']
  4.  
  5. /html:html/html:body/node()|/foo:*
Add Comment
Please, Sign In to add comment