Skip to main content
December 20, 2008
Question

xml parse

  • December 20, 2008
  • 1 reply
  • 310 views
Hi i am setting variable from a xml post using

xmlObj.XmlRoot.authentification[1].XmlChildren[0]["XmlText"]

but i really need to specify the name of the child rather than the index, just not sure how to do this, i have tried
xmlObj.XmlRoot.authentification[1].XmlChildren["master"]["XmlText"]

any ideas?
This topic has been closed for replies.

1 reply

Inspiring
December 20, 2008
> but i really need to specify the name of the child rather than the index, just
> not sure how to do this, i have tried
> xmlObj.XmlRoot.authentification[1].XmlChildren["master"]["XmlText"]
>
> any ideas?

Yep. You should read the docs:
http://livedocs.adobe.com/coldfusion/8/XML_01.html.

It's covered in there. It's a waste of time for you to fumble around
trying to guess stuff, when it's all been written down and explained for
you already.

There's no such word as "authentification", btw. Despite what - a
staggering - 3.1M search results on Google might suggest.

--
Adam