Skip to main content
WolfShade
Legend
June 2, 2009
Question

XML Parse, with condition

  • June 2, 2009
  • 3 replies
  • 711 views

Hello, everyone.

I am trying to create a pricing module for Amazon; I've finally got it to the point where Amazon is returning data in XML.  But I don't need ALL of the data that is being sent.  Is anyone aware of a way to loop through it, grabbing only what I need and inserting it into a struct?  Are there any turnkey solutions for this?  A CFC/UDF that's already built to do this?

Thanks,

^_^

PS.  Don't know if anyone here uses the forum at Webdeveloper.com, but they just opened a CF forum, there (FINALLY!)  But it needs people.

    This topic has been closed for replies.

    3 replies

    Participant
    July 3, 2009

    Definitely consider biterscripting for parsing XML. It is very simple to learn and simple to use. Several script samples are available at http://www.biterscripting.com , also, I have seen tons of sample scripts posted on the web. Just google up biterscripting.

    Richard

    ilssac
    Inspiring
    June 3, 2009

    OR

    xmlTransform() with XSLT stylesheets for more complex solutions.

    BKBK
    Community Expert
    Community Expert
    June 3, 2009