Create XML 'baseName' or 'nodeName'

  • Thread starter Thread starter k1sr
  • Start date Start date
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...!
 
Back
Top