int xmlReaderMoveToNextAttribute(xmlReader reader)
0- not found
-1- other error
xmlReaderMoveToNextAttribute() advances the
the next attribute of the element. If the reader is currently on an
element, it is moved to the first attribute.
<$ret = (xmlReaderMoveToFirstAttribute($reader))>
<while $ret eq 1>
<$name = (xmlReaderGetName($reader))>
<$content = (xmlReaderGetContent($reader))>
attr '$name' = '$content'
<$ret = (xmlReaderMoveToNextAttribute($reader))>
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).