xmlReaderGetNsURI

SYNOPSIS

string xmlReaderGetNsURI(xmlReader reader)

Parameters:

  • reader - the xmlReader object

Returns:

  • the URI for the namespace of the current element or node


DESCRIPTION
xmlReaderGetNsURI() determines and returns the URI for the namespace of the current element or attribute. Inherited namespaces work properly - Namespaces that are defined in the root element of a document will be resolved if xmlReaderGetNsURI() is called on a sub-element that uses that namespace.


EXAMPLE

<$uri = (xmlReaderGetNsURI($reader))>


SEE ALSO
xmlReaderGetLocalName, xmlReaderGetNsPrefix


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.