SYNOPSISstring xmlReaderGetLocalName(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
DESCRIPTIONxmlReaderGetLocalName()
returns the local name of the current
element or attribute, which is the name without any namespace
prefix on it.
For example, calling xmlReaderGetLocalName()
on the elements
<item>
and <myns:item>
will both return item
.
It is useful for comparing things in a namespace-aware manner.
EXAMPLE<$localname = (xmlReaderGetLocalName($reader))>
SEE ALSOxmlReaderGetNsURI
,
xmlReaderGetNsPrefix