Setting indent="no" has no effect with Saxon 9. I guess it is optional in the spec; it isn't really a bug or anything with Saxon. Is there any way to remove the "pretty print"? We save off the XML and it is quite a bit bigger with all the indents.
+2
A:
Use:
<xsl:strip-space elements="*"/>
The reason there is still indentation without including the above xslt instruction, is that whitespace-only nodes get copied.
Dimitre Novatchev
2010-02-18 03:47:19
yup .. +1 acceptable answer .. :-)
infant programmer
2010-02-18 08:55:49