AddItemNode (server-side)
Use this routine to add an item element to a global XML document, establishing name and value attributes using the passed parameters.
Definition
AddItemNode(byVal sName,
byVal sValue)
Parameters
sName
A string containing a value for the name attribute of the item.
sValue
A string containing a value for the value attribute of the item.
Return Value
None.
Remarks
The new item will be added to the XML document retrieved from the documentElement property of the DOMDocument object referenced by the global variable g_xmlReturn.
The string version of the added element has the following form:
<item name="sName" value="sValue"/>
This routine is available in the include file HTTPXMLUtil.asp.
There is a functionally equivalent version of this routine defined for client-side use in the file HTTPXMLUtil.htm. Note that this other routine does not add the CDATA node to a globally accessible XML document, but instead is passed an xmlDoc parameter that references the XML document to which the node will be added.