strong-xml
strong-xml copied to clipboard
Strong typed xml, based on xmlparser.
This project appears to be dead. - The last commit is over a year ago. - Issues and even small bugfix PRs have gotten no response. - I've reached out...
Fixes https://github.com/PoiScript/strong-xml/issues/35
This is a pretty simple implementation of namespaces. Fixes #22. Example Usage: - ```rust #[derive(XmlWrite, XmlRead, PartialEq, Debug)] #[xml(tag = "n:nested", ns = "n: http://www.example.com")] struct Nested { #[xml(child =...
I'm not sure if this is "intended" as it is definitely a weird case. But see the following example: ```rust #[derive(strong_xml::XmlRead)] #[xml(tag = "head")] pub struct Head { #[xml(flatten_text="title")] pub...
I don't want to be pessimistic, but IMHO xml namespaces are a hard beast: you can mix nested default namespaces with named namespaces, making everything difficult to grasp at a...
For every `struct` representing an XML element, as far as I can tell, you have to write `#[xml(tag = "elementname")]` in front of that `struct`. For a field in a...
Hi, this crate is fantastic for parsing strictly-structured information, but in the XML documents that I'm using there are several tags which can contain mixed content (for rich-text renderers). For...
STR: Try to build and test the string-xml crate using nightly Rust. AR: The following warning occuries: ``` warning: unused borrow that must be used --> test-suite\tests\issue_5.rs:3:10 | 3 |...
Decided to move the #[xml()] attribute conflict handling to after the parsing because it seemed me that it makes more sense there but in the end it doesn't make a...
I somehow possible to skip the child definition and just for example use: ```rust #[xml(child = "*")] childs: Vec, ``` or ``` #[xml(childall)] childs: Vec, ``` I have an enum...