Let's say my XML file is setup this way.
I am trying to use the Node.firstChild.data to print out the text in the < mydata > node.
<mydata>blah blah<br />one two</mydata>
The problem is, this returns only "blah blah". I think this is because it treats the < br / > tag as a separate child node, so when I do firstChild it only gets "blah blah". I want it to treat the whole text inside the < mydata > node as one child node and print it out.
How can I do this?