[xsl] Attribute spacing

Subject: [xsl] Attribute spacing
From: "Nesbitt, David" <DNesbitt@xxxxxxxxxx>
Date: Fri, 31 Aug 2001 12:49:27 -0700
Good People,

I am new to this list and fairly new to XLST.  I have a question
regarding attribute spacing.  I have the following snippet in my XSL
stylesheet:

<td align="right"><a
            href=""
            onClick="MM_openBrWindow('jsp/Help/Main/Help.jsp',
                                     '','width=660,height=520')"><img
                src="images/question.gif"
                width="22"
                height="22"
                border="0"/></a></td>

I would like to maintain the spacing in to generated output file, but I
do not know how.  Currently the output looks like this:

<td align="right"><a href=""
onClick="MM_openBrWindow('jsp/Help/Main/Help.jsp',
'','width=660,height=520')"><img src="images/question.gif" width="22"
height="22" border="0"/></a></td>

I have tried to use <xsl:text>, but it does not seem possible to use
between attributes.  Any ideas?

Thanks in advance.

Regards,
Dave

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


Current Thread