Solved

XML - Adding Attribrutes to a note

Posted on 2003-10-21
2
124 Views
Last Modified: 2010-05-03
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.
0
Comment
Question by:cossy74
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9597403
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


0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 9600613
objNode.Append objParameterIdAttrib
objNode.Append objParameterValueAttrib

Anthony
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question