Hi
I have the following xml string that I have loaded into an REXML object
as shown below.
#xml stuff for saveRoute
require ‘rexml/document’
include REXML
Xml = "
sam
this is a test
this is a test2
"
XmlObject = Document.new(Xml)
- How can I get the value of name into a string?
- Also how can I loop over to get all values of into an
array?
Thanks
jon