API Reference

Attributes

Classes

pugixml.pugi.BytesWriter

(pugixml-python only) XMLWriter implementation for bytes.

pugixml.pugi.FileWriter

(pugixml-python only) XMLWriter implementation for a file.

pugixml.pugi.PrintWriter

(pugixml-python only) XMLWriter implementation for sys.stdout.

pugixml.pugi.StringWriter

(pugixml-python only) XMLWriter implementation for string.

pugixml.pugi.XMLAttribute

A light-weight handle for manipulating attributes in DOM tree.

pugixml.pugi.XMLAttributeIterator

A collection of attributes.

pugixml.pugi.XMLAttributeStruct

The internal object of the attribute.

pugixml.pugi.XMLDocument

Document class (DOM tree root).

pugixml.pugi.XMLEncoding

These flags determine the encoding of input/output data for XML document.

pugixml.pugi.XMLNamedNodeIterator

A collection of nodes specified by name.

pugixml.pugi.XMLNode

A light-weight handle for manipulating nodes in DOM tree.

pugixml.pugi.XMLNodeIterator

A collection of nodes.

pugixml.pugi.XMLNodeStruct

The internal object of the node.

pugixml.pugi.XMLNodeType

Tree node types.

pugixml.pugi.XMLParseResult

Parsing result.

pugixml.pugi.XMLParseStatus

Parsing status, returned as part of XMLParseResult object.

pugixml.pugi.XMLText

A helper for working with text inside PCDATA nodes.

pugixml.pugi.XMLTreeWalker

Abstract tree walker class.

pugixml.pugi.XMLWriter

Writer interface for node printing.

pugixml.pugi.XPathNode

XPath node class (either XMLNode or XMLAttribute.)

pugixml.pugi.XPathNodeSet

A fixed-size collection of XPath nodes.

pugixml.pugi.XPathNodeSet.Type

Collection type.

pugixml.pugi.XPathParseResult

XPath parsing result.

pugixml.pugi.XPathQuery

A compiled XPath expression object.

pugixml.pugi.XPathValueType

XPath query return type.

pugixml.pugi.XPathVariable

A single XPath variable.

pugixml.pugi.XPathVariableSet

A set of XPath variables.