|
SYNOPSIS
string xmlReaderGetName(xmlReader reader)
Parameters:
-
reader - the xmlReader object
Returns:
- the full name of the current element or attribute
DESCRIPTION
xmlReaderGetName() 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 ALSO
xmlReaderGetAllContent,
xmlReaderGetContent
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|