clib

package module
v0.0.0-...-b573913 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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

func XMLReaderWalker(document XMLtypes.Document) (uintptr, error)

Creates a new reader

func XMLTextReaderAttributeCount

func XMLTextReaderAttributeCount(reader ptrSource) (int, error)

func XMLTextReaderBaseUri

func XMLTextReaderBaseUri(reader ptrSource) (string, error)

func XMLTextReaderCurrentNode

func XMLTextReaderCurrentNode(reader ptrSource) (uintptr, error)

func XMLTextReaderDepth

func XMLTextReaderDepth(reader ptrSource) (int, error)

func XMLTextReaderFree

func XMLTextReaderFree(reader ptrSource) error

func XMLTextReaderGetAttributeNo

func XMLTextReaderGetAttributeNo(reader ptrSource, no int) (string, error)

func XMLTextReaderHasAttributes

func XMLTextReaderHasAttributes(reader ptrSource) (bool, error)

func XMLTextReaderHasValue

func XMLTextReaderHasValue(reader ptrSource) (bool, error)

func XMLTextReaderIsDefault

func XMLTextReaderIsDefault(reader ptrSource) (bool, error)

func XMLTextReaderIsEmptyElement

func XMLTextReaderIsEmptyElement(reader ptrSource) (bool, error)

func XMLTextReaderIsNamespaceDecl

func XMLTextReaderIsNamespaceDecl(reader ptrSource) (bool, error)

func XMLTextReaderLocalName

func XMLTextReaderLocalName(reader ptrSource) (string, error)

func XMLTextReaderMoveToAttributeNo

func XMLTextReaderMoveToAttributeNo(reader ptrSource, no int) error

func XMLTextReaderMoveToElement

func XMLTextReaderMoveToElement(reader ptrSource) error

func XMLTextReaderMoveToFirstAttribute

func XMLTextReaderMoveToFirstAttribute(reader ptrSource) error

func XMLTextReaderMoveToNextAttribute

func XMLTextReaderMoveToNextAttribute(reader ptrSource) error

func XMLTextReaderName

func XMLTextReaderName(reader ptrSource) (string, error)

func XMLTextReaderNamespaceUri

func XMLTextReaderNamespaceUri(reader ptrSource) (string, error)

func XMLTextReaderNodeType

func XMLTextReaderNodeType(reader ptrSource) (int, error)

func XMLTextReaderPrefix

func XMLTextReaderPrefix(reader ptrSource) (string, error)

func XMLTextReaderQuoteChar

func XMLTextReaderQuoteChar(reader ptrSource) (int, error)

func XMLTextReaderRead

func XMLTextReaderRead(reader ptrSource) (int, error)

func XMLTextReaderReadState

func XMLTextReaderReadState(reader ptrSource) (int, error)

func XMLTextReaderSetParserProp

func XMLTextReaderSetParserProp(reader ptrSource, prop, value int) error

func XMLTextReaderSetSchema

func XMLTextReaderSetSchema(reader, schema ptrSource) error

func XMLTextReaderValue

func XMLTextReaderValue(reader ptrSource) (string, error)

func XMLTextReaderXmlLang

func XMLTextReaderXmlLang(reader ptrSource) (string, error)

Types

type XMLParserProperties

type XMLParserProperties int

type XMLReaderType

type XMLReaderType int

The C library uses the type "xmlReaderTypes" for this enumeration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL