SYNOPSISstring xmlReaderGetType(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
DESCRIPTIONxmlReaderGetType()
returns the type of whatever it is that the
xmlReader
is currently on. The possible values are:
XML_ELEMENT_NODE
XML_ATTRIBUTE_NODE
XML_TEXT_NODE
XML_CDATA_NODE
XML_ENTITY_REF_NODE
XML_ENTITY_NODE
XML_PI_NODE
XML_COMMENT_NODE
XML_DOCUMENT_NODE
XML_DOCUMENT_TYPE_NODE
XML_DOCUMENT_FRAG_NODE
XML_NOTATION_NODE
XML_WHITESPACE_NODE
XML_SIGNIFICANT_WHITESPACE_NODE
XML_END_ELEMENT_NODE
XML_END_ENTITY_NODE
XML_DECLARATION_NODE
EXAMPLE<$type = (xmlReaderGetType($reader))>
SEE ALSOxmlReaderGetBytesConsumed
,
xmlReaderGetColumn
,
xmlReaderGetDepth
,
xmlReaderGetLine
,
xmlReaderIsEmptyElement