J
John Butler
When reading in the site element from my xml file using rexml it seems
to be chopping the rest of the text off after the first <br/>
The value in the XML file is below
<Site>123 street<br/>amstown<br/>amserland</Site>
element = REXML::XPath.first(doc, '//Site')
puts element.text #shows 123 Street
How can i get the full data and once i have it i can remove the <br/>
I cant find any information on this?????
JB
to be chopping the rest of the text off after the first <br/>
The value in the XML file is below
<Site>123 street<br/>amstown<br/>amserland</Site>
element = REXML::XPath.first(doc, '//Site')
puts element.text #shows 123 Street
How can i get the full data and once i have it i can remove the <br/>
I cant find any information on this?????
JB