[xsl] output formatting

Subject: [xsl] output formatting
From: Alec Cove <covea@xxxxxxx>
Date: Mon, 29 Jan 2001 14:45:39 -0500

Say you had some xsl that was like this:


<img><xsl:attribute name="src"><xsl:value-of
select="asset/src"/></xsl:attribute></img>

<img><xsl:attribute name="src"><xsl:value-of
select="asset/src"/></xsl:attribute></img>


how could you preserve the spacing between the img tags so the resulting
html looked like:

<img src="test.gif">

<img src="test.gif">


My transformation keeps putting the tags together. Is there a way in general
of having the spacing of the xsl kept after the transformation.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread