|
| https://go.dev/ |
| Skip to Main Content | https://pkg.go.dev/encoding/xml#main-content |
|
Why Go
| https://pkg.go.dev/encoding/xml |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/encoding/xml |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/encoding/xml |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
|
| https://groups.google.com/g/golang-nuts |
|
| https://github.com/golang |
|
| https://twitter.com/golang |
|
| https://www.reddit.com/r/golang/ |
|
| https://invite.slack.golangbridge.org/ |
|
| https://stackoverflow.com/collectives/go |
|
| https://go.dev/ |
|
Why Go
| https://pkg.go.dev/encoding/xml |
|
Why Go
| https://pkg.go.dev/encoding/xml |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Security
| https://go.dev/security/ |
| Learn | https://go.dev/learn/ |
|
Docs
| https://pkg.go.dev/encoding/xml |
|
Docs
| https://pkg.go.dev/encoding/xml |
|
Effective Go
| https://go.dev/doc/effective_go |
|
Go User Manual
| https://go.dev/doc/ |
|
Standard library
| https://pkg.go.dev/std |
|
Release Notes
| https://go.dev/doc/devel/release |
|
API
| https://pkg.go.dev/api |
| Packages | https://pkg.go.dev/ |
|
Community
| https://pkg.go.dev/encoding/xml |
|
Community
| https://pkg.go.dev/encoding/xml |
|
Recorded Talks
| https://go.dev/talks/ |
|
Meetups
| https://www.meetup.com/pro/go |
|
Conferences
| https://github.com/golang/go/wiki/Conferences |
|
Go blog
| https://go.dev/blog |
|
Go project
| https://go.dev/help |
| https://groups.google.com/g/golang-nuts |
| https://github.com/golang |
| https://twitter.com/golang |
| https://www.reddit.com/r/golang/ |
| https://invite.slack.golangbridge.org/ |
| https://stackoverflow.com/collectives/go |
| Discover Packages | https://pkg.go.dev/ |
| Standard library | https://pkg.go.dev/std |
| encoding | https://pkg.go.dev/encoding |
|
xml
| https://pkg.go.dev/encoding/xml@go1.26.5 |
|
| https://go.dev/ |
|
Version:
go1.26.5
| https://pkg.go.dev/encoding/xml?tab=versions |
|
Go to latest
| https://pkg.go.dev/encoding/xml |
| BSD-3-Clause | https://pkg.go.dev/encoding/xml?tab=licenses |
|
Imports: 13
| https://pkg.go.dev/encoding/xml?tab=imports |
|
Imported by: 79,507
| https://pkg.go.dev/encoding/xml?tab=importedby |
| go.mod | https://cs.opensource.google/go/go/+/go1.26.5:src/go.mod |
| Learn more about best practices | https://pkg.go.dev/about#best-practices |
|
cs.opensource.google/go/go
| https://cs.opensource.google/go/go |
|
Report a Vulnerability
| https://go.dev/security/policy |
|
Documentation
| https://pkg.go.dev/encoding/xml#section-documentation |
| Overview | https://pkg.go.dev/encoding/xml#pkg-overview |
|
Index
| https://pkg.go.dev/encoding/xml#pkg-index |
|
Examples
| https://pkg.go.dev/encoding/xml#pkg-examples |
|
Package (CustomMarshalXML)
| https://pkg.go.dev/encoding/xml#example-package-CustomMarshalXML |
|
Package (TextMarshalXML)
| https://pkg.go.dev/encoding/xml#example-package-TextMarshalXML |
|
Encoder
| https://pkg.go.dev/encoding/xml#example-Encoder |
|
MarshalIndent
| https://pkg.go.dev/encoding/xml#example-MarshalIndent |
|
Unmarshal
| https://pkg.go.dev/encoding/xml#example-Unmarshal |
|
Constants
| https://pkg.go.dev/encoding/xml#pkg-constants |
|
Variables
| https://pkg.go.dev/encoding/xml#pkg-variables |
|
Functions
| https://pkg.go.dev/encoding/xml#pkg-functions |
|
Escape(w, s)
| https://pkg.go.dev/encoding/xml#Escape |
|
EscapeText(w, s)
| https://pkg.go.dev/encoding/xml#EscapeText |
|
Marshal(v)
| https://pkg.go.dev/encoding/xml#Marshal |
|
MarshalIndent(v, prefix, indent)
| https://pkg.go.dev/encoding/xml#MarshalIndent |
|
Unmarshal(data, v)
| https://pkg.go.dev/encoding/xml#Unmarshal |
|
Types
| https://pkg.go.dev/encoding/xml#pkg-types |
|
type Attr
| https://pkg.go.dev/encoding/xml#Attr |
|
type CharData
| https://pkg.go.dev/encoding/xml#CharData |
|
(c) Copy()
| https://pkg.go.dev/encoding/xml#CharData.Copy |
|
type Comment
| https://pkg.go.dev/encoding/xml#Comment |
|
(c) Copy()
| https://pkg.go.dev/encoding/xml#Comment.Copy |
|
type Decoder
| https://pkg.go.dev/encoding/xml#Decoder |
|
NewDecoder(r)
| https://pkg.go.dev/encoding/xml#NewDecoder |
|
NewTokenDecoder(t)
| https://pkg.go.dev/encoding/xml#NewTokenDecoder |
|
(d) Decode(v)
| https://pkg.go.dev/encoding/xml#Decoder.Decode |
|
(d) DecodeElement(v, start)
| https://pkg.go.dev/encoding/xml#Decoder.DecodeElement |
|
(d) InputOffset()
| https://pkg.go.dev/encoding/xml#Decoder.InputOffset |
|
(d) InputPos()
| https://pkg.go.dev/encoding/xml#Decoder.InputPos |
|
(d) RawToken()
| https://pkg.go.dev/encoding/xml#Decoder.RawToken |
|
(d) Skip()
| https://pkg.go.dev/encoding/xml#Decoder.Skip |
|
(d) Token()
| https://pkg.go.dev/encoding/xml#Decoder.Token |
|
type Directive
| https://pkg.go.dev/encoding/xml#Directive |
|
(d) Copy()
| https://pkg.go.dev/encoding/xml#Directive.Copy |
|
type Encoder
| https://pkg.go.dev/encoding/xml#Encoder |
|
NewEncoder(w)
| https://pkg.go.dev/encoding/xml#NewEncoder |
|
(enc) Close()
| https://pkg.go.dev/encoding/xml#Encoder.Close |
|
(enc) Encode(v)
| https://pkg.go.dev/encoding/xml#Encoder.Encode |
|
(enc) EncodeElement(v, start)
| https://pkg.go.dev/encoding/xml#Encoder.EncodeElement |
|
(enc) EncodeToken(t)
| https://pkg.go.dev/encoding/xml#Encoder.EncodeToken |
|
(enc) Flush()
| https://pkg.go.dev/encoding/xml#Encoder.Flush |
|
(enc) Indent(prefix, indent)
| https://pkg.go.dev/encoding/xml#Encoder.Indent |
|
type EndElement
| https://pkg.go.dev/encoding/xml#EndElement |
|
type Marshaler
| https://pkg.go.dev/encoding/xml#Marshaler |
|
type MarshalerAttr
| https://pkg.go.dev/encoding/xml#MarshalerAttr |
|
type Name
| https://pkg.go.dev/encoding/xml#Name |
|
type ProcInst
| https://pkg.go.dev/encoding/xml#ProcInst |
|
(p) Copy()
| https://pkg.go.dev/encoding/xml#ProcInst.Copy |
|
type StartElement
| https://pkg.go.dev/encoding/xml#StartElement |
|
(e) Copy()
| https://pkg.go.dev/encoding/xml#StartElement.Copy |
|
(e) End()
| https://pkg.go.dev/encoding/xml#StartElement.End |
|
type SyntaxError
| https://pkg.go.dev/encoding/xml#SyntaxError |
|
(e) Error()
| https://pkg.go.dev/encoding/xml#SyntaxError.Error |
|
type TagPathError
| https://pkg.go.dev/encoding/xml#TagPathError |
|
(e) Error()
| https://pkg.go.dev/encoding/xml#TagPathError.Error |
|
type Token
| https://pkg.go.dev/encoding/xml#Token |
|
CopyToken(t)
| https://pkg.go.dev/encoding/xml#CopyToken |
|
type TokenReader
| https://pkg.go.dev/encoding/xml#TokenReader |
|
type UnmarshalError
| https://pkg.go.dev/encoding/xml#UnmarshalError |
|
(e) Error()
| https://pkg.go.dev/encoding/xml#UnmarshalError.Error |
|
type Unmarshaler
| https://pkg.go.dev/encoding/xml#Unmarshaler |
|
type UnmarshalerAttr
| https://pkg.go.dev/encoding/xml#UnmarshalerAttr |
|
type UnsupportedTypeError
| https://pkg.go.dev/encoding/xml#UnsupportedTypeError |
|
(e) Error()
| https://pkg.go.dev/encoding/xml#UnsupportedTypeError.Error |
|
Notes
| https://pkg.go.dev/encoding/xml#pkg-notes |
|
Bugs
| https://pkg.go.dev/encoding/xml#pkg-note-BUG |
|
Source Files
| https://pkg.go.dev/encoding/xml#section-sourcefiles |
| ¶ | https://pkg.go.dev/encoding/xml#section-documentation |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-overview |
| ¶ | https://pkg.go.dev/encoding/xml#example-package-CustomMarshalXML |
| ¶ | https://pkg.go.dev/encoding/xml#example-package-TextMarshalXML |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-index |
| Constants | https://pkg.go.dev/encoding/xml#pkg-constants |
| Variables | https://pkg.go.dev/encoding/xml#pkg-variables |
| func Escape(w io.Writer, s []byte) | https://pkg.go.dev/encoding/xml#Escape |
| func EscapeText(w io.Writer, s []byte) error | https://pkg.go.dev/encoding/xml#EscapeText |
| func Marshal(v any) ([]byte, error) | https://pkg.go.dev/encoding/xml#Marshal |
| func MarshalIndent(v any, prefix, indent string) ([]byte, error) | https://pkg.go.dev/encoding/xml#MarshalIndent |
| func Unmarshal(data []byte, v any) error | https://pkg.go.dev/encoding/xml#Unmarshal |
| type Attr | https://pkg.go.dev/encoding/xml#Attr |
| type CharData | https://pkg.go.dev/encoding/xml#CharData |
| func (c CharData) Copy() CharData | https://pkg.go.dev/encoding/xml#CharData.Copy |
| type Comment | https://pkg.go.dev/encoding/xml#Comment |
| func (c Comment) Copy() Comment | https://pkg.go.dev/encoding/xml#Comment.Copy |
| type Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| func NewDecoder(r io.Reader) *Decoder | https://pkg.go.dev/encoding/xml#NewDecoder |
| func NewTokenDecoder(t TokenReader) *Decoder | https://pkg.go.dev/encoding/xml#NewTokenDecoder |
| func (d *Decoder) Decode(v any) error | https://pkg.go.dev/encoding/xml#Decoder.Decode |
| func (d *Decoder) DecodeElement(v any, start *StartElement) error | https://pkg.go.dev/encoding/xml#Decoder.DecodeElement |
| func (d *Decoder) InputOffset() int64 | https://pkg.go.dev/encoding/xml#Decoder.InputOffset |
| func (d *Decoder) InputPos() (line, column int) | https://pkg.go.dev/encoding/xml#Decoder.InputPos |
| func (d *Decoder) RawToken() (Token, error) | https://pkg.go.dev/encoding/xml#Decoder.RawToken |
| func (d *Decoder) Skip() error | https://pkg.go.dev/encoding/xml#Decoder.Skip |
| func (d *Decoder) Token() (Token, error) | https://pkg.go.dev/encoding/xml#Decoder.Token |
| type Directive | https://pkg.go.dev/encoding/xml#Directive |
| func (d Directive) Copy() Directive | https://pkg.go.dev/encoding/xml#Directive.Copy |
| type Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| func NewEncoder(w io.Writer) *Encoder | https://pkg.go.dev/encoding/xml#NewEncoder |
| func (enc *Encoder) Close() error | https://pkg.go.dev/encoding/xml#Encoder.Close |
| func (enc *Encoder) Encode(v any) error | https://pkg.go.dev/encoding/xml#Encoder.Encode |
| func (enc *Encoder) EncodeElement(v any, start StartElement) error | https://pkg.go.dev/encoding/xml#Encoder.EncodeElement |
| func (enc *Encoder) EncodeToken(t Token) error | https://pkg.go.dev/encoding/xml#Encoder.EncodeToken |
| func (enc *Encoder) Flush() error | https://pkg.go.dev/encoding/xml#Encoder.Flush |
| func (enc *Encoder) Indent(prefix, indent string) | https://pkg.go.dev/encoding/xml#Encoder.Indent |
| type EndElement | https://pkg.go.dev/encoding/xml#EndElement |
| type Marshaler | https://pkg.go.dev/encoding/xml#Marshaler |
| type MarshalerAttr | https://pkg.go.dev/encoding/xml#MarshalerAttr |
| type Name | https://pkg.go.dev/encoding/xml#Name |
| type ProcInst | https://pkg.go.dev/encoding/xml#ProcInst |
| func (p ProcInst) Copy() ProcInst | https://pkg.go.dev/encoding/xml#ProcInst.Copy |
| type StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| func (e StartElement) Copy() StartElement | https://pkg.go.dev/encoding/xml#StartElement.Copy |
| func (e StartElement) End() EndElement | https://pkg.go.dev/encoding/xml#StartElement.End |
| type SyntaxError | https://pkg.go.dev/encoding/xml#SyntaxError |
| func (e *SyntaxError) Error() string | https://pkg.go.dev/encoding/xml#SyntaxError.Error |
| type TagPathError | https://pkg.go.dev/encoding/xml#TagPathError |
| func (e *TagPathError) Error() string | https://pkg.go.dev/encoding/xml#TagPathError.Error |
| type Token | https://pkg.go.dev/encoding/xml#Token |
| func CopyToken(t Token) Token | https://pkg.go.dev/encoding/xml#CopyToken |
| type TokenReader | https://pkg.go.dev/encoding/xml#TokenReader |
| type UnmarshalError | https://pkg.go.dev/encoding/xml#UnmarshalError |
| func (e UnmarshalError) Error() string | https://pkg.go.dev/encoding/xml#UnmarshalError.Error |
| type Unmarshaler | https://pkg.go.dev/encoding/xml#Unmarshaler |
| type UnmarshalerAttr | https://pkg.go.dev/encoding/xml#UnmarshalerAttr |
| type UnsupportedTypeError | https://pkg.go.dev/encoding/xml#UnsupportedTypeError |
| func (e *UnsupportedTypeError) Error() string | https://pkg.go.dev/encoding/xml#UnsupportedTypeError.Error |
| Bugs | https://pkg.go.dev/encoding/xml#pkg-note-BUG |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-examples |
| Package (CustomMarshalXML) | https://pkg.go.dev/encoding/xml#example-package-CustomMarshalXML |
| Package (TextMarshalXML) | https://pkg.go.dev/encoding/xml#example-package-TextMarshalXML |
| Encoder | https://pkg.go.dev/encoding/xml#example-Encoder |
| MarshalIndent | https://pkg.go.dev/encoding/xml#example-MarshalIndent |
| Unmarshal | https://pkg.go.dev/encoding/xml#example-Unmarshal |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-constants |
| View Source | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=19 |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-variables |
| View Source | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=1874 |
| string | https://pkg.go.dev/builtin#string |
| Decoder.Strict | https://pkg.go.dev/encoding/xml#Decoder.Strict |
| Decoder.Entity | https://pkg.go.dev/encoding/xml#Decoder.Entity |
| View Source | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=1605 |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| Decoder.Strict | https://pkg.go.dev/encoding/xml#Decoder.Strict |
| Decoder.Entity | https://pkg.go.dev/encoding/xml#Decoder.Entity |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-functions |
| Escape | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=2004 |
| ¶ | https://pkg.go.dev/encoding/xml#Escape |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| byte | https://pkg.go.dev/builtin#byte |
| EscapeText | https://pkg.go.dev/encoding/xml#EscapeText |
| EscapeText | https://pkg.go.dev/encoding/xml#EscapeText |
| EscapeText | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=1910 |
| ¶ | https://pkg.go.dev/encoding/xml#EscapeText |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| Marshal | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=82 |
| ¶ | https://pkg.go.dev/encoding/xml#Marshal |
| any | https://pkg.go.dev/builtin#any |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| Name | https://pkg.go.dev/encoding/xml#Name |
| Marshaler | https://pkg.go.dev/encoding/xml#Marshaler |
| encoding.TextMarshaler | https://pkg.go.dev/encoding#TextMarshaler |
| MarshalIndent | https://pkg.go.dev/encoding/xml#MarshalIndent |
| MarshalIndent | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=132 |
| ¶ | https://pkg.go.dev/encoding/xml#MarshalIndent |
| any | https://pkg.go.dev/builtin#any |
| string | https://pkg.go.dev/builtin#string |
| byte | https://pkg.go.dev/builtin#byte |
| error | https://pkg.go.dev/builtin#error |
| Marshal | https://pkg.go.dev/encoding/xml#Marshal |
| ¶ | https://pkg.go.dev/encoding/xml#example-MarshalIndent |
| Unmarshal | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=133 |
| ¶ | https://pkg.go.dev/encoding/xml#Unmarshal |
| byte | https://pkg.go.dev/builtin#byte |
| any | https://pkg.go.dev/builtin#any |
| error | https://pkg.go.dev/builtin#error |
| encoding.TextUnmarshaler | https://pkg.go.dev/encoding#TextUnmarshaler |
| Attr | https://pkg.go.dev/encoding/xml#Attr |
| ¶ | https://pkg.go.dev/encoding/xml#example-Unmarshal |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-types |
| Attr | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=45 |
| ¶ | https://pkg.go.dev/encoding/xml#Attr |
| Name | https://pkg.go.dev/encoding/xml#Name |
| string | https://pkg.go.dev/builtin#string |
| CharData | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=81 |
| ¶ | https://pkg.go.dev/encoding/xml#CharData |
| byte | https://pkg.go.dev/builtin#byte |
| Copy | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=84 |
| ¶ | https://pkg.go.dev/encoding/xml#CharData.Copy |
| CharData | https://pkg.go.dev/encoding/xml#CharData |
| CharData | https://pkg.go.dev/encoding/xml#CharData |
| Comment | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=88 |
| ¶ | https://pkg.go.dev/encoding/xml#Comment |
| byte | https://pkg.go.dev/builtin#byte |
| Copy | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=91 |
| ¶ | https://pkg.go.dev/encoding/xml#Comment.Copy |
| Comment | https://pkg.go.dev/encoding/xml#Comment |
| Comment | https://pkg.go.dev/encoding/xml#Comment |
| Decoder | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=148 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder |
| bool | https://pkg.go.dev/builtin#bool |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| io | https://pkg.go.dev/io |
| Reader | https://pkg.go.dev/io#Reader |
| io | https://pkg.go.dev/io |
| Reader | https://pkg.go.dev/io#Reader |
| error | https://pkg.go.dev/builtin#error |
| string | https://pkg.go.dev/builtin#string |
| NewDecoder | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=221 |
| ¶ | https://pkg.go.dev/encoding/xml#NewDecoder |
| io | https://pkg.go.dev/io |
| Reader | https://pkg.go.dev/io#Reader |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| io.ByteReader | https://pkg.go.dev/io#ByteReader |
| NewTokenDecoder | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=233 |
| ¶ | https://pkg.go.dev/encoding/xml#NewTokenDecoder |
| TokenReader | https://pkg.go.dev/encoding/xml#TokenReader |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| Decode | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=139 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.Decode |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| any | https://pkg.go.dev/builtin#any |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| DecodeElement | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=147 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.DecodeElement |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| any | https://pkg.go.dev/builtin#any |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| InputOffset | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=934 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.InputOffset |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| int64 | https://pkg.go.dev/builtin#int64 |
| InputPos | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=941 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.InputPos |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| int | https://pkg.go.dev/builtin#int |
| RawToken | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=544 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.RawToken |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| Token | https://pkg.go.dev/encoding/xml#Token |
| error | https://pkg.go.dev/builtin#error |
| Decoder.Token | https://pkg.go.dev/encoding/xml#Decoder.Token |
| Skip | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=775 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.Skip |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| error | https://pkg.go.dev/builtin#error |
| Token | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=274 |
| ¶ | https://pkg.go.dev/encoding/xml#Decoder.Token |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| Token | https://pkg.go.dev/encoding/xml#Token |
| error | https://pkg.go.dev/builtin#error |
| io.EOF | https://pkg.go.dev/io#EOF |
| CopyToken | https://pkg.go.dev/encoding/xml#CopyToken |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| EndElement | https://pkg.go.dev/encoding/xml#EndElement |
| Decoder.CharsetReader | https://pkg.go.dev/encoding/xml#Decoder.CharsetReader |
| https://www.w3.org/TR/REC-xml-names/ | https://www.w3.org/TR/REC-xml-names/ |
| Name | https://pkg.go.dev/encoding/xml#Name |
| Directive | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=107 |
| ¶ | https://pkg.go.dev/encoding/xml#Directive |
| byte | https://pkg.go.dev/builtin#byte |
| Copy | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=110 |
| ¶ | https://pkg.go.dev/encoding/xml#Directive.Copy |
| Directive | https://pkg.go.dev/encoding/xml#Directive |
| Directive | https://pkg.go.dev/encoding/xml#Directive |
| Encoder | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=146 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder |
| ¶ | https://pkg.go.dev/encoding/xml#example-Encoder |
| NewEncoder | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=151 |
| ¶ | https://pkg.go.dev/encoding/xml#NewEncoder |
| io | https://pkg.go.dev/io |
| Writer | https://pkg.go.dev/io#Writer |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| Close | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=316 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.Close |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| error | https://pkg.go.dev/builtin#error |
| Encode | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=171 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.Encode |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| any | https://pkg.go.dev/builtin#any |
| error | https://pkg.go.dev/builtin#error |
| Marshal | https://pkg.go.dev/encoding/xml#Marshal |
| Encoder.Flush | https://pkg.go.dev/encoding/xml#Encoder.Flush |
| EncodeElement | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=186 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.EncodeElement |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| any | https://pkg.go.dev/builtin#any |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| error | https://pkg.go.dev/builtin#error |
| Marshal | https://pkg.go.dev/encoding/xml#Marshal |
| Encoder.Flush | https://pkg.go.dev/encoding/xml#Encoder.Flush |
| EncodeToken | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=212 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.EncodeToken |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| Token | https://pkg.go.dev/encoding/xml#Token |
| error | https://pkg.go.dev/builtin#error |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| EndElement | https://pkg.go.dev/encoding/xml#EndElement |
| Encoder.Flush | https://pkg.go.dev/encoding/xml#Encoder.Flush |
| Encoder.Encode | https://pkg.go.dev/encoding/xml#Encoder.Encode |
| Encoder.EncodeElement | https://pkg.go.dev/encoding/xml#Encoder.EncodeElement |
| Marshaler | https://pkg.go.dev/encoding/xml#Marshaler |
| ProcInst | https://pkg.go.dev/encoding/xml#ProcInst |
| Flush | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=309 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.Flush |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| error | https://pkg.go.dev/builtin#error |
| Encoder.EncodeToken | https://pkg.go.dev/encoding/xml#Encoder.EncodeToken |
| Indent | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=160 |
| ¶ | https://pkg.go.dev/encoding/xml#Encoder.Indent |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| string | https://pkg.go.dev/builtin#string |
| EndElement | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=74 |
| ¶ | https://pkg.go.dev/encoding/xml#EndElement |
| Name | https://pkg.go.dev/encoding/xml#Name |
| Marshaler | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=110 |
| ¶ | https://pkg.go.dev/encoding/xml#Marshaler |
| Encoder | https://pkg.go.dev/encoding/xml#Encoder |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| MarshalerAttr | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=125 |
| ¶ | https://pkg.go.dev/encoding/xml#MarshalerAttr |
| Name | https://pkg.go.dev/encoding/xml#Name |
| Attr | https://pkg.go.dev/encoding/xml#Attr |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| Attr | https://pkg.go.dev/encoding/xml#Attr |
| Name | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=40 |
| ¶ | https://pkg.go.dev/encoding/xml#Name |
| string | https://pkg.go.dev/builtin#string |
| Decoder.Token | https://pkg.go.dev/encoding/xml#Decoder.Token |
| ProcInst | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=94 |
| ¶ | https://pkg.go.dev/encoding/xml#ProcInst |
| string | https://pkg.go.dev/builtin#string |
| byte | https://pkg.go.dev/builtin#byte |
| Copy | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=100 |
| ¶ | https://pkg.go.dev/encoding/xml#ProcInst.Copy |
| ProcInst | https://pkg.go.dev/encoding/xml#ProcInst |
| ProcInst | https://pkg.go.dev/encoding/xml#ProcInst |
| StartElement | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=55 |
| ¶ | https://pkg.go.dev/encoding/xml#StartElement |
| Name | https://pkg.go.dev/encoding/xml#Name |
| Attr | https://pkg.go.dev/encoding/xml#Attr |
| Copy | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=61 |
| ¶ | https://pkg.go.dev/encoding/xml#StartElement.Copy |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| End | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=69 |
| ¶ | https://pkg.go.dev/encoding/xml#StartElement.End |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| EndElement | https://pkg.go.dev/encoding/xml#EndElement |
| SyntaxError | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=26 |
| ¶ | https://pkg.go.dev/encoding/xml#SyntaxError |
| string | https://pkg.go.dev/builtin#string |
| int | https://pkg.go.dev/builtin#int |
| Error | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=31 |
| ¶ | https://pkg.go.dev/encoding/xml#SyntaxError.Error |
| SyntaxError | https://pkg.go.dev/encoding/xml#SyntaxError |
| string | https://pkg.go.dev/builtin#string |
| TagPathError | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/typeinfo.go;l=330 |
| ¶ | https://pkg.go.dev/encoding/xml#TagPathError |
| reflect | https://pkg.go.dev/reflect |
| Type | https://pkg.go.dev/reflect#Type |
| string | https://pkg.go.dev/builtin#string |
| string | https://pkg.go.dev/builtin#string |
| Error | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/typeinfo.go;l=336 |
| ¶ | https://pkg.go.dev/encoding/xml#TagPathError.Error |
| TagPathError | https://pkg.go.dev/encoding/xml#TagPathError |
| string | https://pkg.go.dev/builtin#string |
| Token | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=52 |
| ¶ | https://pkg.go.dev/encoding/xml#Token |
| any | https://pkg.go.dev/builtin#any |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| EndElement | https://pkg.go.dev/encoding/xml#EndElement |
| CharData | https://pkg.go.dev/encoding/xml#CharData |
| Comment | https://pkg.go.dev/encoding/xml#Comment |
| ProcInst | https://pkg.go.dev/encoding/xml#ProcInst |
| Directive | https://pkg.go.dev/encoding/xml#Directive |
| CopyToken | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=113 |
| ¶ | https://pkg.go.dev/encoding/xml#CopyToken |
| Token | https://pkg.go.dev/encoding/xml#Token |
| Token | https://pkg.go.dev/encoding/xml#Token |
| TokenReader | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go;l=142 |
| ¶ | https://pkg.go.dev/encoding/xml#TokenReader |
| Token | https://pkg.go.dev/encoding/xml#Token |
| error | https://pkg.go.dev/builtin#error |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| io.EOF | https://pkg.go.dev/io#EOF |
| UnmarshalError | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=160 |
| ¶ | https://pkg.go.dev/encoding/xml#UnmarshalError |
| string | https://pkg.go.dev/builtin#string |
| Error | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=162 |
| ¶ | https://pkg.go.dev/encoding/xml#UnmarshalError.Error |
| UnmarshalError | https://pkg.go.dev/encoding/xml#UnmarshalError |
| string | https://pkg.go.dev/builtin#string |
| Unmarshaler | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=179 |
| ¶ | https://pkg.go.dev/encoding/xml#Unmarshaler |
| Decoder | https://pkg.go.dev/encoding/xml#Decoder |
| StartElement | https://pkg.go.dev/encoding/xml#StartElement |
| error | https://pkg.go.dev/builtin#error |
| UnmarshalerAttr | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go;l=191 |
| ¶ | https://pkg.go.dev/encoding/xml#UnmarshalerAttr |
| Attr | https://pkg.go.dev/encoding/xml#Attr |
| error | https://pkg.go.dev/builtin#error |
| Unmarshal | https://pkg.go.dev/encoding/xml#Unmarshal |
| UnsupportedTypeError | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=1128 |
| ¶ | https://pkg.go.dev/encoding/xml#UnsupportedTypeError |
| reflect | https://pkg.go.dev/reflect |
| Type | https://pkg.go.dev/reflect#Type |
| Marshal | https://pkg.go.dev/encoding/xml#Marshal |
| Error | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go;l=1132 |
| ¶ | https://pkg.go.dev/encoding/xml#UnsupportedTypeError.Error |
| UnsupportedTypeError | https://pkg.go.dev/encoding/xml#UnsupportedTypeError |
| string | https://pkg.go.dev/builtin#string |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-notes |
| ¶ | https://pkg.go.dev/encoding/xml#pkg-note-BUG |
| encoding/json | https://pkg.go.dev/encoding/json |
| ¶ | https://pkg.go.dev/encoding/xml#section-sourcefiles |
| View all Source files | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml |
| marshal.go | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/marshal.go |
| read.go | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/read.go |
| typeinfo.go | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/typeinfo.go |
| xml.go | https://cs.opensource.google/go/go/+/go1.26.5:src/encoding/xml/xml.go |
|
Why Go
| https://go.dev/solutions |
|
Use Cases
| https://go.dev/solutions#use-cases |
|
Case Studies
| https://go.dev/solutions#case-studies |
|
Get Started
| https://learn.go.dev/ |
|
Playground
| https://play.golang.org |
|
Tour
| https://tour.golang.org |
|
Stack Overflow
| https://stackoverflow.com/questions/tagged/go?tab=Newest |
|
Help
| https://go.dev/help |
|
Packages
| https://pkg.go.dev |
|
Standard Library
| https://pkg.go.dev/std |
|
Sub-repositories
| https://pkg.go.dev/golang.org/x |
|
About Go Packages
| https://pkg.go.dev/about |
|
pkg.go.dev API
| https://pkg.go.dev/api |
|
About
| https://go.dev/project |
| Download | https://go.dev/dl/ |
| Blog | https://go.dev/blog |
|
Issue Tracker
| https://github.com/golang/go/issues |
|
Release Notes
| https://go.dev/doc/devel/release.html |
|
Brand Guidelines
| https://go.dev/brand |
|
Code of Conduct
| https://go.dev/conduct |
|
Connect
| https://www.twitter.com/golang |
|
Twitter
| https://www.twitter.com/golang |
| GitHub | https://github.com/golang |
|
Slack
| https://invite.slack.golangbridge.org/ |
|
r/golang
| https://reddit.com/r/golang |
|
Meetup
| https://www.meetup.com/pro/go |
|
Golang Weekly
| https://golangweekly.com/ |
| Copyright | https://go.dev/copyright |
| Terms of Service | https://go.dev/tos |
|
Privacy Policy
| http://www.google.com/intl/en/policies/privacy/ |
|
Report an Issue
| https://go.dev/s/pkgsite-feedback |
|
| https://google.com |
| Learn more. | https://policies.google.com/technologies/cookies |