SYNOPSISxmlNode xmlTreeSetName(xmlNode node, string name)
Parameters:
node
- the xmlNode
you want to set the name ofname
- the name you want to use for node
Returns:
node
DESCRIPTIONxmlTreeSetName()
sets the name of node
. Used for setting
the name of elements or attributes.
EXAMPLE<$ret = (xmlTreeSetName($node, 'item'))>
SEE ALSOxmlTreeSetContent
,
xmlTreeAddContent