SYNOPSISint xmlReaderRead(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
1
- the next node was read successfully0
- there are no more nodes to read-1
- error
DESCRIPTIONxmlReaderRead()
advances the xmlReader
to the next node in
the XML data.
EXAMPLE<while (xmlReaderRead($reader) = '1')>
<$name = (xmlReaderGetName($reader))>
<$type = (xmlReaderGetType($reader))>
On $name ($type)...
</while>
SEE ALSOxmlReaderMoveToAttribute
,
xmlReaderMoveToAttributeNumber
,
xmlReaderMoveToElement
,
xmlReaderMoveToFirstAttribute
,
xmlReaderMoveToNextAttribute