Home | History | Annotate | Download | only in xml

Lines Matching refs:XML

5 // Package xml implements a simple XML 1.0 parser that
6 // understands XML name spaces.
7 package xml
10 // Annotated XML spec: http://www.xml.com/axml/testaxml.htm
11 // XML name spaces: http://www.w3.org/TR/REC-xml-names/
28 // A SyntaxError represents a syntax error in the XML input stream.
35 return "XML syntax error on line " + strconv.Itoa(e.Line) + ": " + e.Msg
38 // A Name represents an XML name (Local) annotated
47 // An Attr represents an attribute in an XML element (Name=Value).
57 // A StartElement represents an XML start element.
70 // End returns the corresponding XML end element.
75 // An EndElement represents an XML end element.
80 // A CharData represents XML character data (raw text),
81 // in which XML escape sequences have been replaced by
93 // A Comment represents an XML comment of the form <!--comment-->.
99 // A ProcInst represents an XML processing instruction of the form <?target inst?>
110 // A Directive represents an XML directive of the form <!text>.
133 // A Decoder represents an XML parser reading a particular input stream.
137 // of the XML specification.
154 // Strict mode does not enforce the requirements of the XML name spaces TR.
183 // as if the entire XML stream were wrapped in an element containing
203 // NewDecoder creates a new XML parser reading from r.
217 // Token returns the next XML token in the input stream.
234 // Token implements XML name spaces as described by
235 // http://www.w3.org/TR/REC-xml-names/. Each of the
264 // In XML name spaces, the translations listed in the
299 const xmlURL = "http://www.w3.org/XML/1998/namespace"
310 case n.Space == "xml":
337 // more work but forced on us by XML.
493 var errRawToken = errors.New("xml: cannot use RawToken from UnmarshalXML method")
580 if target == "xml" {
584 d.err = fmt.Errorf("xml: unsupported version %q; only version 1.0 is supported", ver)
590 d.err = fmt.Errorf("xml: encoding %q declared but Decoder.CharsetReader is nil", enc)
595 d.err = fmt.Errorf("xml: opening charset %q: %v", enc, err)
933 // Read plain text section (XML calls it character data).
979 // XML in all its glory allows a document to define and use
1102 // Decide whether the given rune is in the XML Character Range, per
1103 // the Char production of http://www.xml.com/axml/testaxml.htm,
1143 d.err = d.syntaxError("invalid XML name: " + string(b))
1232 // the XML spec at http://www.xml.com/axml/testaxml.htm
1851 // EscapeText writes to w the properly escaped XML equivalent
1857 // escapeText writes to w the properly escaped XML equivalent
1907 // EscapeString writes to p the properly escaped XML equivalent