#139 Xpath extras

Future
accepted
nobody
5
2014-06-04
2009-03-16
birdspider
No

besides the (somewhere in the forum discussed but 1 year old) Xpath Namespace condensation
(xmlns:a="http://bla.net") -> xpath('/a:root') == xpath('/{"http://bla.net"}:root')

i would like to see a
0. bigger xpath window :)
1. select an xml element -> "right klick" -> "show XPATH to this element" -> xpath('/a:foo/b:bar/c:pathtoselectedelement') (in new dialog or clipboard or so)

Discussion

  • P Fudd
    P Fudd
    2014-03-08

    Yes, I really, really, really want to right-click on something and get the XPATH to that element. Right now, you can do the opposite: Click on XML->Evaluate XPath, and see the results. I've just wasted a day trying to find a command or utility that will let me print the xpath, given an XML file and a string found in that file. Trial and error bites!

     
  • Zane U. Ji
    Zane U. Ji
    2014-04-06

    • status: open --> accepted
    • Group: --> Future