P00dle 0 Junior Poster

I made a program that edits the contents of a XML file. It works fine,
but when there are newline characters between the nodes, the program doesn't handle them correctly. It looks like it's handling the newline as if it's a node as well.

The problem is that put all the nodes into a nodelist before I need to deal with the newlines. Is there anyway to handle them like what they are - newline cahracters - ?

Any help on this will be appreciated, thanks :)