At my work we have our own XML classes which build a DOM, but I'm not sure how consecutive whitespace should be handled?
e.g.
<some-text>
Hello World
</some-text>
When this is read into the DOM, should the text node include the consecutive whitespace inbetween Hello and World or just reduce it to one space?
Or should the XML source be written like this:
<some-text> Hello World </some-text>
or if not than perhaps   ?