12#include <libxml/xmlreader.h>
13#include <libxml/xmlerror.h>
60 return str <<
"NoNode" << endl;
63 if (
X(
nodeType) == XML_READER_TYPE_NONE )
XmlString localName() const
The local name of the node.
XmlString prefix() const
A shorthand reference to the namespace associated with the node.
int depth() const
The depth of the node in the tree.
int hasAttributes() const
Whether the node has attributes.
int attributeCount() const
Provides the number of attributes of the current node.
int hasValue() const
Whether the node can have a text value.
NodeType nodeType() const
Get the node type of the current node.
static xmlTextReaderPtr const _no_reader
NULL Reader referenced by default ctor.
ReadState readState() const
Gets the read state of the reader.
int isEmptyElement() const
Check if the current node is empty.
XmlString value() const
Provides the text value of the node if present.
xmlTextReaderPtr const & _reader
Reference to the Reader.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const ReadState &obj)
Easy-to use interface to the ZYPP dependency resolver.