J
JC
I am parsing an XML file that has line breaks. When I use the method
"getChildNodes" on a Node (which returns a NodeList of the children of
that node), I am receiving the line breaks and spaces as children.
What is the best way to remove/ignore these line breaks? Can I do it
up front, or do I have to do it after I get the children nodes?
"getChildNodes" on a Node (which returns a NodeList of the children of
that node), I am receiving the line breaks and spaces as children.
What is the best way to remove/ignore these line breaks? Can I do it
up front, or do I have to do it after I get the children nodes?