MCPcopy Create free account
hub / github.com/crewjam/saml / ExtensionElement

Struct ExtensionElement

metadata.go:520–525  ·  view source on GitHub ↗

ExtensionElement is a generic XML element, used for extension elements that this package does not model. Names are kept with their namespace URIs rather than their prefixes, so the element can be written out again with its namespaces intact. Character data is kept, but its position relative to child

Source from the content-addressed store, hash-verified

518// its namespaces intact. Character data is kept, but its position relative to
519// child elements (mixed content) is not.
520type ExtensionElement struct {
521 XMLName xml.Name
522 Attrs []xml.Attr `xml:",any,attr"`
523 CharData string `xml:",chardata"`
524 Children []ExtensionElement `xml:",any"`
525}
526
527// UnmarshalXML implements xml.Unmarshaler
528func (m *ExtensionElement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected