go-xml
go-xml copied to clipboard
utility and code-generation libraries for XML
Following the revert https://github.com/droyo/go-xml/pull/102 and your comment on https://github.com/droyo/go-xml/issues/101, I applied it and it seems to work well. I found the original xsd that was causing issue in #101 (https://www.fpml.org/spec/fpml-5-9-3-wd-3/html/recordkeeping/schemaDocumentation/schemas/xmldsig-core-schema_xsd/schema-overview.html#a76),...
Instead of setting all elements within a choice to optional, preserve the ordering of elements within a choice element by adding a new `Choice` field on elements. For elements within...
I have a large schema from a vendor, Cisco/Broadworks which I need to create API calls to build utilities from. xdsparse has no problem with the xsd, but xsdgen creates...
In xsdgen/xsdgen.go, any restrictions on types aren't given special treatment, only a simple comment is added to the resulting type. This should be changed to proper Mashal/Unmarshal methods so full...
a new MergeTypes method is added to the xsd.Schema type which merges the types from one xsd.Schema into another provided that the TargetNS values are equivalent. this MergeTypes method is...
Hi! Thanks for the excellent tool. I was using `xsdgen` on this schema: https://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd This mostly worked, except for one field: ```xml ``` The resulting struct has the correct type:...
- **I have an xml file, and a part of the string is as follows:** ``` module ``` **When I parse the xml above using the following code ,the code...
So let's say I have [a schema](https://git.square-r00t.net/XML/tree/schema/projects/aif.xsd) that [includes a (non-namespaced/generic) additional schema](https://git.square-r00t.net/XML/tree/schema/lib/types/aif.xsd) which finally [includes an another generic/non-NS schema](https://git.square-r00t.net/XML/tree/schema/lib/types/std.xsd). When I try to use those schemas, e.g. python's LXML...
hi! – first off, thanks for the amazing software. It really does help a lot! I just had a quick question about an XML I was trying to unmarshal using...
Add parse documentation when annotation tag is inner tag enumeration. Example: ```xml Documentation to value FIRST ```