SLAXML
SLAXML copied to clipboard
SAX-like streaming XML parser for Lua
**Changes:** - Created `dist.ini` to support building lib as an OpenResty OPM package - Moved source files into `lib` folder because OPM package builder adds all subdirectories; specifying `lib_dir` as...
Hi there! I've faced an issue that slaxdom failed to build a DOM for document that have a ``. w3 says it is valid: https://www.w3.org/TR/xml/#NT-doctypedecl Minimal test-case: ```lua sd=require"slaxdom" z=sd:dom("")...
Building a DOM from scratch to seraialize requires creating `nsPrefix` properties on elements and attributes, but also maintaining proper `nsURI` *if* you want to use the `omit` option during serialization....
```lua S = require'slaxdom' doc = S:dom[[]] print(S:xml(doc,{omit={'die'}})) --> ``` Expected output is ``.
Current rockspec does not work with Luarocks because there is no "v0.8.1" tag in the repository. To fix this either replace the tag specified in the rockspec (this PR does...