1 Reply Latest reply on Dec 20, 2008 1:10 AM by Newsgroup_User

    xml parse

    craig_mac Level 1
      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?
        • 1. Re: xml parse
          Level 7
          > 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