sponsor Vim development Vim logo Vim Book Ad

XPath Search : Allows XPath searches to be performed on XML files

 script karma  Rating 17/5, Downloaded by 1235    Comments, bugs, improvements  Vim wiki

created by
Dave Aitken
script type
-Defines a new command, :XPathSearchPrompt that begins XPath search mode.
-Start typing your XPath and see the results pop up in vim's location list as you type

Also see github: https://github.com/actionshrimp/vim-xpath
install details
-Python installed and support enabled on vim (look for +python under :version)
-python-lxml library installed (http://lxml.de)

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-xpath-v2.0.0.zip 2.0.0 2013-08-26 7.0 Dave Aitken Rewrite. Uses location list instead of custom results buffer. Better handling of long XML files, and XML namespaces
actionshrimp-vim-xpath-26a7cb7.zip 1.20 2011-06-19 7.0 Dave Aitken Removed default forced keybinding, added easier command.
General bugfixes.
Now evaluates expressions that aren't associated with a particular line.
xpath.vba 1.10 2011-04-06 7.0 Dave Aitken Updated to handle unnamed buffers and to search on the last searched buffer if the current window is the results window.
xpath.vba 1.05 2011-04-04 7.0 Dave Aitken Fixed minor bugs and encoding issues.
xpath.vba 1.0 2011-04-03 7.0 Dave Aitken Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo