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