encoding/xml.Name.Space (field)
38 uses
encoding/xml (current package)
marshal.go#L484: start.Name.Space, start.Name.Local = xmlname.xmlns, xmlname.name
marshal.go#L493: start.Name.Space, start.Name.Local = finfo.xmlns, finfo.name
marshal.go#L519: name := Name{Space: finfo.xmlns, Local: finfo.name}
marshal.go#L647: start.Name.Space = finfo.xmlns
marshal.go#L704: if start.Name.Space != "" {
marshal.go#L706: p.EscapeString(start.Name.Space)
marshal.go#L717: if name.Space != "" {
marshal.go#L718: p.WriteString(p.createAttrPrefix(name.Space))
marshal.go#L741: return fmt.Errorf("xml: end tag </%s> in namespace %s does not match start tag <%s> in namespace %s", name.Local, name.Space, top.Local, top.Space)
read.go#L429: if finfo.xmlns != "" && finfo.xmlns != start.Name.Space {
read.go#L431: if start.Name.Space == "" {
read.go#L434: e += start.Name.Space
read.go#L453: if a.Name.Local == finfo.name && (finfo.xmlns == "" || finfo.xmlns == a.Name.Space) {
read.go#L680: if finfo.flags&fElement == 0 || len(finfo.parents) < len(parents) || finfo.xmlns != "" && finfo.xmlns != start.Name.Space {
xml.go#L44: Space, Local string
xml.go#L312: if a.Name.Space == xmlnsPrefix {
xml.go#L317: if a.Name.Space == "" && a.Name.Local == xmlnsPrefix {
xml.go#L353: case n.Space == xmlnsPrefix:
xml.go#L355: case n.Space == "" && !isElementName:
xml.go#L357: case n.Space == xmlPrefix:
xml.go#L358: n.Space = xmlURL
xml.go#L359: case n.Space == "" && n.Local == xmlnsPrefix:
xml.go#L362: if v, ok := d.ns[n.Space]; ok {
xml.go#L363: n.Space = v
xml.go#L364: } else if n.Space == "" {
xml.go#L365: n.Space = d.DefaultSpace
xml.go#L469: s.name.Space = url
xml.go#L500: case s.name.Space != name.Space:
xml.go#L501: d.err = d.syntaxError("element <" + s.name.Local + "> in space " + s.name.Space +
xml.go#L502: "closed by </" + name.Local + "> in space " + name.Space)
xml.go#L511: d.ns[s.name.Local] = s.name.Space
xml.go#L1163: name.Space = s[0:i]
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
sort.go#L15: spaceI, spaceJ := x[i].Name.Space, x[j].Name.Space
xml_to_struct.go#L97: if a.Name.Space == "xmlns" {
xml_to_struct.go#L108: namespace := a.Name.Space
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |