SYNOPSISstring xmlReaderGetNsPrefix(xmlReader reader)
Parameters:
reader
- the xmlReader
object
Returns:
DESCRIPTIONxmlReaderGetNsPrefix()
returns the namespace prefix on the
current element or attribute (if any). Calling it on <item>
will return an empty string, but calling it on <myns:item>
will
return myns
.
EXAMPLE<$prefix = (xmlReaderGetNsPrefix($reader))>
SEE ALSOxmlReaderGetLocalName
,
xmlReaderGetNsURI