pugixml.pugi.XMLParseResult
- class pugixml.pugi.XMLParseResult
Bases:
pybind11_objectParsing result.
Properties
- encoding
The source document encoding.
- Type:
- status
The parsing status.
- Type:
Methods
__bool__(self)Determine if the parsing result is not an error (
status==STATUS_OK).__init__(self)Initialize
XMLParseResult.description(self)Return an error description.
Member Documentation
- __bool__(self: pugixml.pugi.XMLParseResult) bool
Determine if the parsing result is not an error (
status==STATUS_OK).- Returns:
Trueif the parsing result is not an error,Falseotherwise.
- __init__(self: pugixml.pugi.XMLParseResult) None
Initialize
XMLParseResult.
- description(self: pugixml.pugi.XMLParseResult) str
Return an error description.
- Returns:
An error description.