From: "Eder QuiƱones" Date: 2008-02-07T09:21:26+09:00 Subject: XML Parser (SOAP Request) First of all, sorry for my English. Hello, I've been working on a new MSNP (Version 13) client for Ruby, the only problem that I Have is that this version of the protocol has lots of SOAP Requests and I've been trying the smart way of parsing it. So, what i receive from the server is: 11.02.1331.0000 Allow 2 Passport Accepted false 2005-08-05T17:34:12.7870000-07:00 alice@passport.com false 0 0 What I need to retrieve is everything inside the tags, for example (following the xml above): * in MemberRole, I need what it's of the tag -> Allow * in Member, I need the value of the attribute xsi:type -> PassportMember * in everything else, I need what it's inside of the next tags -> 2 -> Passport -> Accepted -> False ... until * Note: everything that I receive from the server it's not splited by end-lines. Any help of parsing this? Thanks in advance. -- Posted via http://www.ruby-forum.com/.