This is a Feature. Whitespace outside the root element is officially Not Meaningful in XML. It can't be represented in the DOM, and will be discarded.
(This also isn't an XSLT or XPath question.) ______________________________________ Joe Kesselman / IBM Research
