SYNOPSISstring xmlTreeSetNsPrefix(xmlNs ns, string prefix)
Parameters:
ns
- the xmlNs
whose prefix you want to changeprefix
- the new namespace prefix to use for ns
Returns:
ns
(if any)
DESCRIPTIONxmlTreeSetNsPrefix()
changes the namespace prefix for an
already-created namespace. Creating a namespace is done with
xmlTreeNewNs()
.
EXAMPLE<$oldPrefix = (xmlTreeSetNsPrefix($ns, 'myns'))>
SEE ALSOxmlTreeSetNsURI
,
xmlTreeClearNs