>And how to do it [ensure that the output has no whitespace >if the spaces to remove are in XSL file ? not in the XML file.
If you are referring to literal result elements in the stylesheet, the answer would be to put them in the stylesheet in the literal form you want to see. For better appearance in the stylesheet, use xsl:text for text nodes instead of LREs. .................David Marston