RE: [xsl] Attribute spacing

Subject: RE: [xsl] Attribute spacing
From: "Nesbitt, David" <DNesbitt@xxxxxxxxxx>
Date: Fri, 31 Aug 2001 13:26:24 -0700
Chris,

Thanks for the response.  Admittedly, it is not strictly critical to
maintain the spacing.  However, there are cases where the embedded
JavaScript code is more extensive.  If it retains its format, it is
easier to read and to debug.

Regards,
Dave

> -----Original Message-----
> From: Chris Bayes [mailto:chris@xxxxxxxxxxx]
> Sent: Friday, August 31, 2001 1:07 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] Attribute spacing
> 
> 
> David,
> Why do you want to do that
> 
> Ciao Chris
> 
> XML/XSL Portal
> http://www.bayes.co.uk/xml
> 
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Nesbitt, David
> > Sent: 31 August 2001 20:49
> > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
> > Cc: Nesbitt, David
> > Subject: [xsl] Attribute spacing
> > 
> > 
> > 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
> 
> 


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


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


Current Thread