xsl-list
[Top] [All Lists]

RE: [xsl] How to strip off all <xsd:annotation> ...</xsd.annotation> tags

2009-08-13 11:43:18
However I would like to keep the xml:space="preserve" 
instruction because it ensures that the output is on a 
minimum human readable format.

It's almost always a bad idea to put xml:space="preserve" in a stylesheet. 

If you want the output to be indented, use <xsl:output indent="yes"/>.

Or if you want finer control over insertion of whitespace into the output,
use xsl:text.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--