xmlTreeSetNsURI

SYNOPSIS

string xmlTreeSetNsURI(xmlNs ns, string URI)

Parameters:

  • ns - the xmlNs whose prefix you want to change

  • URI - the new namespace URI to use for ns

Returns:

  • the old namespace URI for ns (if any)


DESCRIPTION
xmlTreeSetNsURI() changes the namespace URI for an already-created namespace. Creating a namespace is done with xmlTreeNewNs().


EXAMPLE

<$oldPrefix = (xmlTreeSetNsPrefix($ns, 'urn:Thunderstone'))>


SEE ALSO
xmlTreeClearNs, xmlTreeSetNsURI


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