int xmlReaderMoveToAttribute(xmlReader reader, string name)
name- the name of the attribute you want to move to
0- attribute not found
-1- other error
xmlReaderMoveToAttribute() moves the parser on to the specified
attribute of this function. This makes functions that operate on the
"current node" (such as
xmlReaderGetContent()) take effect on the attribute, rather than
the element itself.
If the attribute is not found,
0 is returned and the readers
stays on the element.
<$ret = (xmlReaderMoveToAttribute($reader, 'myAttr'))>