how can I add multiple values to xml.Name type?
// Envelope type
type Envelope struct {
XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ SOAP-ENV:Envelope"`
Header Header
Body Body
}
Expected result with XML Envelope
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:login"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Current output with the first code is as below:
<SOAP-ENV:Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">