I have a line that gets nodeValue Node:
parent.getElementsByTagName("Url")[0].nodeValue
which returns nothing:
<br/>
When I do this:
parent.getElementsByTagName("Url")[0].toxml()
it returns:
< Url>www.something.com< /Url>
I'm not sure what is going on here. Another data point: when I do nodeName instead of nodeValue, it returns, as expected, Url.
Any thoughts?
source
share