xmlTreeSetName

 

SYNOPSIS

xmlNode xmlTreeSetName(xmlNode node, string name)

Parameters:

  • node - the xmlNode you want to set the name of

  • name - the name you want to use for node

Returns:

  • the node


DESCRIPTION
xmlTreeSetName() sets the name of node. Used for setting the name of elements or attributes.


EXAMPLE

<$ret = (xmlTreeSetName($node, 'item'))>


SEE ALSO
xmlTreeSetContent, xmlTreeAddContent


Copyright © Thunderstone Software     Last updated: Sep 25 2019
Copyright © 2019 Thunderstone Software LLC. All rights reserved.