Hi All
Can any one suggest me the wrong in the bellow code
<%
require ‘rubygems’
require ‘hpricot’
doch = Hpricot(@resp_data.receive_string)
doch.search(‘Record’).each do |rec|
rec.search(“Property”).each do |prop|
puts prop.attributes[‘Key’]
end
end
%>
Where @resp_data is the following xml.
<soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
soap:Body
Gadgets
…
</soap:Body>
</soap:Envelope>
Thanks in advance
Chinna