0
xml parse

/t5/coldfusion-discussions/xml-parse/td-p/52674
Dec 20, 2008
Dec 20, 2008
Copy link to clipboard
Copied
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?
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/coldfusion-discussions/xml-parse/m-p/52675#M5522
Dec 20, 2008
Dec 20, 2008
Copy link to clipboard
Copied
> 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
> 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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

