quint
10-07-2010, 07:08 AM
Hi, I am trying to access an element of a variable that has a space in its name. See attached a screenshot of the tree structure.
The way I'm trying is:
msgbox XML.responseXML.LastChild.ChildNodes.[Item 1].baseName but I get an error "Object does not support this property or method". Am I using the right syntax to refer to Item 1? I can access elements on the same level as Item 1 and above. Intellisense doesn't show anything when pressing period after an element name. Many thanks.
The way I'm trying is:
msgbox XML.responseXML.LastChild.ChildNodes.[Item 1].baseName but I get an error "Object does not support this property or method". Am I using the right syntax to refer to Item 1? I can access elements on the same level as Item 1 and above. Intellisense doesn't show anything when pressing period after an element name. Many thanks.