XML.jl
XML.jl copied to clipboard
Read and write XML in pure Julia
Hello! Looking at benchmarks: ``` Write: XML ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 289.638 Write: EzXML ■■■■■■■■■■■■■ 93.4631 ``` XML is about 4 times slower. I have an application where I must write a lot....
Can julia types be generated from xsd files? This is a feature request. Thank you. 🤔There seems to be no library currently that can do this.
[XML character entity references](https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references), e.g. `Å` ("Å"), and XML [numeric character references](https://en.wikipedia.org/wiki/Numeric_character_reference), e.g. `Å` ("Å"), are not unescaped/escaped by `XML.unescape` and `XML.escape` methods.
Not sure if this is within the scope of this package, but currently it seems the DTD may not be correctly parsed, such as entity tags. For example, with [this](https://www.w3schools.com/xml/xml_dtd.asp)...
While XML.jl does a great job just with parsing/writing XML documents, it would be great if it provided a few facilities to help work with them too. One that would...
The assumption in XML.jl seems to be that if a `node` has no attributes then `XML.attributes(node) === nothing`. For example, this constructor seems to assume this: ``` function Node(nodetype::NodeType, tag=nothing,...
I expected this to work but it doesn't. Maybe I shouldn't expect it to? ``` julia> using XML julia> doc = XML.Document() Node (depth=1) Document julia> dec = XML.Declaration(; var"xml...
When something is dict-like, and defined `getindex` like `Node` does to access attributes, I expect it to also provide `get` to do that with a default. ``` julia> n =...
This is a feature request. There are circumstances in which bottom-up construction of an XML document is not algorithmically convenient. It would be nice if element Nodes supported adding and...