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: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.