go-xml
go-xml copied to clipboard
utility and code-generation libraries for XML
Generates a marshal function to assign the default value when in an enumeration type there is only one posibility Example: ```xml ``` ```go type Person struct { Type _anon1 `xml:"type"`...
New config for allowing to add a namespace tag to struct Issue #12
A useful feature of [go-bindata](https://github.com/kevinburke/go-bindata) is its ability to take an argument with go build tags to add to the generated file. My specific use-case for this is that I...
Thank you very much for this hugely brilliant work. I have a complex xsd file which triggers #86 and #96 but I can live with that as it is only...
I think this was introduced in #93 (I hit it merging #93 into my fork because I wanted optional structs to render as pointers). Running `xsdgen` throws the following error:...
I'm trying to use xsdgen on the SAML 2.0 XSD definitions. Specifically, `saml-schema-assertion-2.0.xsd` as found at: https://docs.oasis-open.org/security/saml/v2.0/ I went through and manually downloaded the dependencies and ran: ```sh xsdgen saml-schema-assertion-2.0.xsd...
Is it support xsd:extension element. If yes let us know how to use this. I've tried the cfg.GenSource(doc) xsdgen function seems not working.
I need the example for AllowType, Only Types, ProcessTypes etc. Please share the example program
I have an xsd:sequence that has an xsd:dateTime in the 3rd position. As you know, xsd:sequence is strictly positional. The generated MarshalXML code declares a layout struct to handle the...
This should resolve issue https://github.com/droyo/go-xml/issues/86