I can read all the XML in my file except this <?xml version="1.0" encoding="UTF-8" ?> - <citizen> - <skills> - <skill> <domain>land</domain> <value>2.3</value> </skill> - <skill> <domain>manufacturing</domain> <value>6.58</value> </skill> - <skill> <domain>constructions</domain> <value>0.0</value> </skill> </skills> </citizen>
using REXML puts doc.root.elements["skills/skill/domain"].get_text.value #outputs land puts doc.root.elements["skills/skill/value"].get_text.value #outputs 2.3 Can not get the other skills. Thanks in advance -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com