ianprime0509 / zig-xml

XML parser for Zig
http://ianjohnson.dev/zig-xml/
BSD Zero Clause License
17 stars 4 forks source link

Add a document `Node` #11

Closed ianprime0509 closed 1 year ago

ianprime0509 commented 1 year ago

When memory usage is not a big concern, it might be convenient to parse an entire document into a read-only DOM, which implies that a Document node will be needed (along with a helper function to read an entire XML document directly as such a node).