Posts Tagged ‘XSLT’

xml:space="preserve" and xsl:attribute

Wednesday, September 27th, 2006 by DenisH

Just a quick tip about xsl which I haven’t found anywhere else…

I wanted to generate some human (well me) readable XML using XSL and found that if you add xml:space=”preserve” to the opening tag, then, at least if you are using Xalan and Java to do the transformation, it will preserve the spaces between the tags in the XSL and you’ll get something more or less readable. (more…)