From: Robert Klemme Date: 2008-02-21T01:41:24+09:00 Subject: Re: how to parse a soap xmp result of amazon? 2008/2/20, jacques : > > Also look athttp://www.germane-software.com/software/rexml/docs/tutorial.html > > > > > Note especially XPath. For further documentation on how to build > > XPath expressions, you can look here: > > > > http://www.w3schools.com/xpath/http://www.zvon.org/xxl/XPathTutorial/General/examples.html > > > > Kind regards > > > > robert > > > > -- > > use.inject do |as, often| as.you_can - without end > > > > hi robert > thank you for the response. > i tried to use > > doc = REXML::Document.new(xml_data) > in xml_data is the posted amazon response (with .inspect) If this is supposed to mean that you stuffed the result of invoking #inspect on what you pulled from Amazon then this is certainly not going to work. > There is a Error: > in `parse': # (REXML::ParseException) > > Would this mean that the Amazon Response has a Problem? > How must xmm_data be given to REXML::Document.new()? As plain XML - see above. robert -- use.inject do |as, often| as.you_can - without end