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.
Use:
<xsl:strip-space elements="*"/>
The reason there is still indentation without including the above xslt instruction, is that whitespace-only nodes get copied.
精彩评论