cossy74
asked on
XML - Adding Attribrutes to a note
Hi,
Current I have the following
Set objParameterIdAttrib = oXML.createNode(2, "id", sIDs(iLooper)) '---- A
Set objParameterValueAttrib = oXML.createNode(2, "value", sValues(iLooper)) '---- B
Set objNode = oXML.createNode(1, "Parameter", "") '---- C
I wish to know how to add the Attributes A and B to Node C
How can i do this???? Everything i have tried i wrong.
Current I have the following
Set objParameterIdAttrib = oXML.createNode(2, "id", sIDs(iLooper)) '---- A
Set objParameterValueAttrib = oXML.createNode(2, "value", sValues(iLooper)) '---- B
Set objNode = oXML.createNode(1, "Parameter", "") '---- C
I wish to know how to add the Attributes A and B to Node C
How can i do this???? Everything i have tried i wrong.
Private Declare Function xdocument_add_attr Lib "xmllab_dll.dll" (ByVal XML_CURSOR As Long,ByVal Name As String,ByVal Value As String) As Long
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.