Create XML 'baseName' or 'nodeName'

K

k1sr

Hi,

Trying to use VBA to create an XML file... I've got half of it figured,
however I don't know how to create a node...

I've tried:

docXML.ChildNodes(0).baseName = "name"

but it won't work because 'baseName' (or nodeName) is a read only element...
Any ideas...???

Also, can you tell me how to refer to nodes by their names, rather than
ChildNodes(0, 1, 2, 3, etc.) - I can't figure out '.attribute' (which should
be it...??)

Thanks...!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top