M
Matt Valblade
Hello,
I have problem using XMLsimple.xml_in with '&' character :
<test>
<visit>
<job>&</job>
</visit>
</test>
Illegal character '&' in raw string "&"
The problem is solved when I replace '&' by '&'
but when I this
#####################################
test = XmlSimple.xml_in("test.xml")
test["visit"].each { |visit|
puts visit["job"]
}
######################################
that puts me '&' and not '&'...
To be simple, I juste want to have string with & in my xml file and &
when I puts them after loading.
Thanks for your help.
I have problem using XMLsimple.xml_in with '&' character :
<test>
<visit>
<job>&</job>
</visit>
</test>
Illegal character '&' in raw string "&"
The problem is solved when I replace '&' by '&'
but when I this
#####################################
test = XmlSimple.xml_in("test.xml")
test["visit"].each { |visit|
puts visit["job"]
}
######################################
that puts me '&' and not '&'...
To be simple, I juste want to have string with & in my xml file and &
when I puts them after loading.
Thanks for your help.