Quantcast
Channel: Issues with Go XML encoding - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by blobdon for Issues with Go XML encoding

This struct Marshals to the XML you need, using just endcoding/xml.Marshal():type Grantee struct { Xmlns_xsi string `xml:"xmlns:xsi,attr,omitempty"` //set namespace prefix explicitly Xsi_type string...

View Article



Issues with Go XML encoding

I need to produce the following xml :<AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images