IXmlReader Methods (Compact 2013)
3/26/2014
This section describes the IXmlReader methods.
In This Section
- CreateXmlReader
Creates a new IXmlReader (this constructor is a global function)
- GetAttributeCount
Returns the number of attributes in the current node
- GetBaseUrii
Returns the base URI of the token, if applicable
- GetDepth
Returns the depth of the current node
- GetLineNumber
Returns the line number where the reader is positioned in the document
- GetLinePosition
Returns the line position where the reader is positioned in the document
- GetLocalName
Returns the local name of the node upon which the reader is currently position
- GetNamespaceUri
Returns the namespace URI of the node upon which the reader is currently positioned
- GetNodeType
Provides the type of the current node
- GetPrefix
Returns the prefix of the node upon which the reader is currently positioned
- GetProperty (IXmlReader)
Returns the specified property
- GetQualifiedName
Returns the qualified name of the node upon which the reader is currently positioned
- GetValue
Returns the value of the current token, if applicable
- IsDefault
Indicates whether the attribute was specified in the source document or implied by the DTD
- IsEmptyElement
Indicates whether the element is empty. This method allows for the client to differentiate between elements that have a closing tag but do not contain content, and elements that do not have a closing tag.
- IsEOF
Returns TRUE if the end of the input is reached
- MoveToAttributeByName
Moves the reader to the attribute that has the specified name
- MoveToElement
Moves to the element that owns the current attribute node
- MoveToFirstAttribute
Moves the reader position to the first attribute within the current node
- MoveToNextAttribute
Advances the reader to the next attribute
- Read
Reads the next node from the stream and returns the node type
- ReadValueChunk
Reads up to a maximum of the specified chunk size (as available) from the value of the current node, and copies the value into the specified buffer
- SetInput
Sets the input source of the XML document that is to be parsed
- SetProperty (IXmlReader)
Sets the specified property