> Whitespace outside the root element is inconsequential in the > XML data model. Which XML data model are you thinking of? It's consequential in XDM, because you might serialize your document and use the resulting file as an external entity, in which case such whitespace becomes significant. Michael Kay http://www.saxonica.com/