Question
XML element names vs CF variables names
I am running CF 8 and using XMLParse to create an XMLDoc
Object and referencing it in structure notation. When the XML
contains elements that start with an underscore, references to that
element throw an error. I have tried array notation and several
other structure "hacks" I have seen on other blogs. I am certain
this is a difference between what CF sees as a valid variable name
and what XML allows.
I have attached code but for example and element name of <_element1> can not be referenced in CF as xmlobject["parentelement"]["_element1"].XmlText
Anyone have any work arounds? Is this a bug?
I have attached code but for example and element name of <_element1> can not be referenced in CF as xmlobject["parentelement"]["_element1"].XmlText
Anyone have any work arounds? Is this a bug?
