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: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.