Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

xml parse

Guest
Dec 20, 2008 Dec 20, 2008
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?
TOPICS
Advanced techniques
288
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 20, 2008 Dec 20, 2008
LATEST
> 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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources