I have a large XML master configuration file that contains details for a a number of inter connected applications. Much of the configuration is common to all applications but s
I think the problem is not with the XSLT you have shown (although you could try whether using <xsl:output method="xml" indent="no" version="1.0" encoding="utf-8"/>
improves things) but rather with the way you run the transformation with your XSLT processor. So consider to tell us which XSLT processor you use and if you have code running the transformation to show us the code.