Hello everyone,

in the last few weeks I was working on making 9atom's libxml available as a 
separate bundle for easy installation. I also included xb (a beautifier) into 
the same package. My goal was to build an xslt processor.

However, a few features were completely missing in libxml, most importantly 
namespace support and xpath. I extended libxml to process namespaces properly 
(no validation though) and added xpath support as a separate library (because 
it can become quite big).

For xpath, I created a small utility for querying xml data using xpath (xq). 
Furthermore I have a working (and wip), but very limited xslt processor. Both 
tools are in a separate repository (xmltools).

Libxml and libxpath are available here:

http://shithub.us/sirjofri/xml-9atom/HEAD/info.html
https://git.sr.ht/~sirjofri/xml-9atom

Xq and xslt are available here:

http://shithub.us/sirjofri/xmltools/HEAD/info.html
https://git.sr.ht/~sirjofri/xmltools

I hope to extend xpath and xslt to make them work for most use cases, feedback 
and patches are welcome. Regarding xpath, I hope that the interface won't 
change at all.

If someone could tell me more about the licensing stuff (since libxml is from 
9atom/lucent license, but plan 9 was relicensed/MIT), I'm happy to add license 
files to the repository accordingly. Libxpath, xq and xslt can be considered as 
MIT, I just didn't add the license files yet.

Also, since I'm only working on 9front, please let me know/send a patch if 
something doesn't work as expected on other plan 9 systems.

sirjofri

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Te954fc89420dc526-M78a725684964ce34cb7fa911
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to