Parse xml through "xml/libxml"

Hi All,

Can any one suggest me how to parse following xml in controller, i need
all the 's for each . I have installed “xml/libxml”
gem on my installation.

<soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/”>
soap:Body




.
.
.
.
.

.
.


</soap:Body>
</soap:Envelope>

Thanx in advance
Chinna.

The fastest way for a novice can be to use xpath.

Chinna Gogulapati wrote:

Hi All,

Can any one suggest me how to parse following xml in controller, i need
all the 's for each . I have installed “xml/libxml”
gem on my installation.

I think most people these days are using Nokogiri for XML parsing. Take
a look at it.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]