View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
k1sr k1sr is offline
external usenet poster
 
Posts: 12
Default Create XML 'baseName' or 'nodeName'

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...!