|
SYNOPSIS
string xmlTreeSetNsPrefix(xmlNs ns, string prefix)
Parameters:
-
ns - the xmlNs whose prefix you want to change -
prefix - the new namespace prefix to use for ns
Returns:
- the old namespace prefix for
ns (if any)
DESCRIPTION
xmlTreeSetNsPrefix() changes the namespace prefix for an
already-created namespace. Creating a namespace is done with
xmlTreeNewNs().
EXAMPLE
<$oldPrefix = (xmlTreeSetNsPrefix($ns, 'myns'))>
SEE ALSO
xmlTreeSetNsURI,
xmlTreeClearNs
Copyright © Thunderstone Software Last updated: Mon Feb 18 10:28:15 EST 2013
|