Posts

Showing posts with the label Interactive

Interactive XPath and JSON Path Builder in GNU Emacs

Image
  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