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
| 518 | // its namespaces intact. Character data is kept, but its position relative to |
| 519 | // child elements (mixed content) is not. |
| 520 | type 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 |
| 528 | func (m *ExtensionElement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { |
nothing calls this directly
no outgoing calls
no test coverage detected