SYNOPSISstring xmlReaderGetName(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
DESCRIPTIONxmlReaderGetName()
returns the full name of the element or
attribute the reader is currently on. This includes any
namespace information, so calling it on <item>
returns
item
, and calling it on <myns:item>
returns
myns:item
. The prefix and local name can be retrieved
individually through xmlReaderGetNsPrefix()
and
xmlReaderGetLocalName()
, respectively.
EXAMPLE<$name = (xmlReaderGetName($reader))>
SEE ALSOxmlReaderGetAllContent
,
xmlReaderGetContent