|
SYNOPSIS
int xmlReaderMoveToElement(xmlReader reader)
Parameters:
-
reader - the xmlReader object
Returns:
-
1 - success -
0 - not moved -
-1 - other error
DESCRIPTION
xmlReaderMoveToElement() moves the reader back on to the element
after it has been moved on to one of its attributes.
If you want to advance the reader to the next node in the xml
document, see xmlReaderRead().
EXAMPLE
<$ret = (xmlReaderMoveToElement($reader))>
CAVEATS The ordering of the attributes as provided by this function might NOT
be the same as the ordering of the attributes in the XML document.
This is legal, as the ordering of attributes is not significant in an
XML document (see section 3.1 of the XML spec).
SEE ALSO
xmlReaderMoveToAttribute,
xmlReaderMoveToAttributeNumber,
xmlReaderMoveToFirstAttribute,
xmlReaderMoveToNextAttribute,
xmlReaderRead
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|