shithub: xml-9atom

ref: e864dc493153ca5083018c94a3737165613ef0d5
dir: /README/

View raw version
xml tools from 9atom as archived from
https://github.com/Plan9-Archive/9atom

plug-in repository for the following xml tools:

- libxml:
  /sys/include/xml.h
  /$objtype/lib/libxml.a
  /sys/man/2/xml
- xb:
  /$objtype/bin/xb
  /sys/man/1/xb
- libxpath: (not from 9atom)
  /sys/include/xpath.h
  /$objtype/lib/libxpath.a
  /sys/man/2/xpath

Installation:

mk install
mk clean (optional)

Deinstallation:

mk nuke

This will remove all the installed files.


Libxpath

currently supported rules:

- root path: /path/from/root
- attribute path: /path/to/@attribute
- text path: /path/to/text()
- attribute filter: /path/to[@attribute='value']/filtered
- select all path: /path/to//all/children
- numbered element: /path/to/second[2]/element

There are probably bugs.