Documentation ¶
Index ¶
- Constants
- Variables
- func XMLReaderWalker(document XMLtypes.Document) (uintptr, error)
- func XMLTextReaderAttributeCount(reader ptrSource) (int, error)
- func XMLTextReaderBaseUri(reader ptrSource) (string, error)
- func XMLTextReaderCurrentNode(reader ptrSource) (uintptr, error)
- func XMLTextReaderDepth(reader ptrSource) (int, error)
- func XMLTextReaderFree(reader ptrSource) error
- func XMLTextReaderGetAttributeNo(reader ptrSource, no int) (string, error)
- func XMLTextReaderHasAttributes(reader ptrSource) (bool, error)
- func XMLTextReaderHasValue(reader ptrSource) (bool, error)
- func XMLTextReaderIsDefault(reader ptrSource) (bool, error)
- func XMLTextReaderIsEmptyElement(reader ptrSource) (bool, error)
- func XMLTextReaderIsNamespaceDecl(reader ptrSource) (bool, error)
- func XMLTextReaderLocalName(reader ptrSource) (string, error)
- func XMLTextReaderMoveToAttributeNo(reader ptrSource, no int) error
- func XMLTextReaderMoveToElement(reader ptrSource) error
- func XMLTextReaderMoveToFirstAttribute(reader ptrSource) error
- func XMLTextReaderMoveToNextAttribute(reader ptrSource) error
- func XMLTextReaderName(reader ptrSource) (string, error)
- func XMLTextReaderNamespaceUri(reader ptrSource) (string, error)
- func XMLTextReaderNodeType(reader ptrSource) (int, error)
- func XMLTextReaderPrefix(reader ptrSource) (string, error)
- func XMLTextReaderQuoteChar(reader ptrSource) (int, error)
- func XMLTextReaderRead(reader ptrSource) (int, error)
- func XMLTextReaderReadState(reader ptrSource) (int, error)
- func XMLTextReaderSetParserProp(reader ptrSource, prop, value int) error
- func XMLTextReaderSetSchema(reader, schema ptrSource) error
- func XMLTextReaderValue(reader ptrSource) (string, error)
- func XMLTextReaderXmlLang(reader ptrSource) (string, error)
- type XMLParserProperties
- type XMLReaderType
Constants ¶
View Source
const ( Reader_None = iota Reader_Element Reader_Attribute Reader_Text Reader_Cdata Reader_EntityReference Reader_Entity Reader_ProcessingInstruction Reader_Comment Reader_Document Reader_DocumentType Reader_DocumentFragment Reader_Notation Reader_Whitespace Reader_SignificantWhitespace Reader_EndElement Reader_EndEntity Reader_XmlDeclaration )
FIXME These names are bad
View Source
const ( ParserLoadDTD = 1 ParserDefaultAttrs = 2 ParserValidate = 3 ParserSubstEntities = 4 )
Variables ¶
View Source
var (
ErrInvalidTextReader = errors.New("invalid text reader")
)
Functions ¶
func XMLReaderWalker ¶
Creates a new reader
func XMLTextReaderBaseUri ¶
func XMLTextReaderDepth ¶
func XMLTextReaderFree ¶
func XMLTextReaderFree(reader ptrSource) error
func XMLTextReaderHasValue ¶
func XMLTextReaderIsDefault ¶
func XMLTextReaderLocalName ¶
func XMLTextReaderMoveToElement ¶
func XMLTextReaderMoveToElement(reader ptrSource) error
func XMLTextReaderMoveToFirstAttribute ¶
func XMLTextReaderMoveToFirstAttribute(reader ptrSource) error
func XMLTextReaderMoveToNextAttribute ¶
func XMLTextReaderMoveToNextAttribute(reader ptrSource) error
func XMLTextReaderName ¶
func XMLTextReaderNodeType ¶
func XMLTextReaderPrefix ¶
func XMLTextReaderQuoteChar ¶
func XMLTextReaderRead ¶
func XMLTextReaderReadState ¶
func XMLTextReaderSetSchema ¶
func XMLTextReaderSetSchema(reader, schema ptrSource) error
func XMLTextReaderValue ¶
func XMLTextReaderXmlLang ¶
Types ¶
type XMLParserProperties ¶
type XMLParserProperties int
type XMLReaderType ¶
type XMLReaderType int
The C library uses the type "xmlReaderTypes" for this enumeration
Click to show internal directories.
Click to hide internal directories.