Details
enum xmlParserProperties
typedef enum {
XML_PARSER_LOADDTD = 1,
XML_PARSER_DEFAULTATTRS = 2,
XML_PARSER_VALIDATE = 3,
XML_PARSER_SUBST_ENTITIES = 4
} xmlParserProperties; |
enum xmlParserSeverities
typedef enum {
XML_PARSER_SEVERITY_VALIDITY_WARNING = 1,
XML_PARSER_SEVERITY_VALIDITY_ERROR = 2,
XML_PARSER_SEVERITY_WARNING = 3,
XML_PARSER_SEVERITY_ERROR = 4
} xmlParserSeverities; |
xmlNewTextReader ()
Create an xmlTextReader structure fed with input
xmlNewTextReaderFilename ()
Create an xmlTextReader structure fed with the resource at URI
xmlFreeTextReader ()
Deallocate all the resources associated to the reader
xmlTextReaderRead ()
Moves the position of the current instance to the next node in
the stream, exposing its properties.
xmlTextReaderReadInnerXml ()
Reads the contents of the current node, including child nodes and markup.
xmlTextReaderReadOuterXml ()
Reads the contents of the current node, including child nodes and markup.
xmlTextReaderReadString ()
Reads the contents of an element or a text node as a string.
xmlTextReaderReadAttributeValue ()
Parses an attribute value into one or more Text and EntityReference nodes.
xmlTextReaderAttributeCount ()
Provides the number of attributes of the current node
xmlTextReaderBaseUri ()
The base URI of the node.
xmlTextReaderDepth ()
The depth of the node in the tree.
xmlTextReaderHasAttributes ()
Whether the node has attributes.
xmlTextReaderHasValue ()
Whether the node can have a text value.
xmlTextReaderIsDefault ()
Whether an Attribute node was generated from the default value
defined in the DTD or schema.
xmlTextReaderIsEmptyElement ()
Check if the current node is empty
xmlTextReaderLocalName ()
The local name of the node.
xmlTextReaderName ()
The qualified name of the node, equal to Prefix :LocalName.
xmlTextReaderNamespaceUri ()
The URI defining the namespace associated with the node.
xmlTextReaderNodeType ()
Get the node type of the current node
Reference:
http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html
xmlTextReaderPrefix ()
A shorthand reference to the namespace associated with the node.
xmlTextReaderQuoteChar ()
The quotation mark character used to enclose the value of an attribute.
xmlTextReaderValue ()
Provides the text value of the node if present
xmlTextReaderXmlLang ()
The xml:lang scope within which the node resides.
xmlTextReaderReadState ()
Gets the read state of the reader.
xmlTextReaderClose ()
This method releases any resources allocated by the current instance
changes the state to Closed and close any underlying input.
xmlTextReaderGetAttributeNo ()
Provides the value of the attribute with the specified index relative
to the containing element.
xmlTextReaderGetAttribute ()
Provides the value of the attribute with the specified qualified name.
xmlTextReaderGetAttributeNs ()
Provides the value of the specified attribute
xmlTextReaderGetRemainder ()
Method to get the remainder of the buffered XML. this method stops the
parser, set its state to End Of File and return the input stream with
what is left that the parser did not use.
xmlTextReaderLookupNamespace ()
Resolves a namespace prefix in the scope of the current element.
xmlTextReaderMoveToAttributeNo ()
Moves the position of the current instance to the attribute with
the specified index relative to the containing element.
xmlTextReaderMoveToAttribute ()
Moves the position of the current instance to the attribute with
the specified qualified name.
xmlTextReaderMoveToAttributeNs ()
Moves the position of the current instance to the attribute with the
specified local name and namespace URI.
xmlTextReaderMoveToFirstAttribute ()
Moves the position of the current instance to the first attribute
associated with the current node.
xmlTextReaderMoveToNextAttribute ()
Moves the position of the current instance to the next attribute
associated with the current node.
xmlTextReaderMoveToElement ()
Moves the position of the current instance to the node that
contains the current Attribute node.
xmlTextReaderNormalization ()
The value indicating whether to normalize white space and attribute values.
Since attribute value and end of line normalizations are a MUST in the XML
specification only the value true is accepted. The broken bahaviour of
accepting out of range character entities like &0; is of course not
supported either.
xmlTextReaderSetParserProp ()
Change the parser processing behaviour by changing some of its internal
properties. Note that some properties can only be changed before any
read has been done.
xmlTextReaderGetParserProp ()
Read the parser internal property.
xmlTextReaderCurrentNode ()
Hacking interface allowing to get the xmlNodePtr correponding to the
current node being accessed by the xmlTextReader. This is dangerous
because the underlying node may be destroyed on the next Reads.
xmlTextReaderCurrentDoc ()
Hacking interface allowing to get the xmlDocPtr correponding to the
current document being accessed by the xmlTextReader. This is dangerous
because the associated node may be destroyed on the next Reads.
xmlTextReaderErrorFunc ()
xmlTextReaderLocatorLineNumber ()
Obtain the line number for the given locator.
xmlTextReaderLocatorBaseURI ()
Obtain the base URI for the given locator.
xmlTextReaderSetErrorHandler ()
Register a callback function that will be called on error and warnings.
If f is NULL, the default error and warning handlers are restored.
xmlTextReaderGetErrorHandler ()
Retrieve the error callback function and user argument.