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

Function namespaceDeclaration

etree_xml.go:110–112  ·  view source on GitHub ↗
(prefix, uri string)

Source from the content-addressed store, hash-verified

108}
109
110func namespaceDeclaration(prefix, uri string) xml.Attr {
111 return xml.Attr{Name: xml.Name{Local: xmlnsAttrName(prefix)}, Value: uri}
112}
113
114// UnmarshalXML implements xml.Unmarshaler.
115func (s *etreeElementXML) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {

Callers 2

encodeEtreeElementFunction · 0.85
decodeEtreeElementFunction · 0.85

Calls 1

xmlnsAttrNameFunction · 0.85

Tested by

no test coverage detected