Interactive XPath and JSON Path Builder in GNU Emacs

 

Build XPath and JSON path interactively in GNU Emacs. XPath parsing uses xmllint (part of libxml2-utils package in Debian). For JSON, no external tool is used. The code exposes two APIs:

- M-x xpath-builder and M-x json-path-builder for interactive usage

- (xpath-resolve xpath) and (json-resolve json-path) for programmatic usage


Code

https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/xml/xpath.el
 

Screenshots

Xpath

JSON Path






Comments

Popular posts from this blog

GNU Emacs as a Comic Book Reader

Mozilla Readability in GNU Emacs

Data Visualization with GNU Emacs