[thelist] xslt - removing whitespace

Andrew Martin comitque at hotmail.com
Wed Oct 13 17:07:00 CDT 2004


I'm moving a database to XML and the one problem that I'm having is 
whitespace between HTML tags when rendered via XSLT; I have something like 
this:
xslt file:
</img></a>

And the output adds a space between the end of the img tag and the a tag:
html output:
<img src="url">
          </a>

Is there a way to have the output of the xml not contain whitespace?

Thanks!


More information about the thelist mailing list