Link to home
Start Free TrialLog in
Avatar of cossy74
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.
Avatar of fantasy1001
fantasy1001

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
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial