This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Attribute spacing
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Attribute spacing
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Fri, 31 Aug 2001 21:54:52 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dave,
Well you can't really but you can add a few 
 to the
attribure values
<a href="www.someplace.com
" onclick="somefunc()
"
etc
Which probably makes it more difficult to read but will break up the
single line.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> Nesbitt, David
> Sent: 31 August 2001 21:26
> To: xsl-list@lists.mulberrytech.com
> Cc: Nesbitt, David
> Subject: RE: [xsl] Attribute spacing
>
>
> 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@bayes.co.uk]
> > Sent: Friday, August 31, 2001 1:07 PM
> > To: xsl-list@lists.mulberrytech.com
> > 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@lists.mulberrytech.com
> > > [mailto:owner-xsl-list@lists.mulberrytech.com] On Behalf Of
> > > Nesbitt, David
> > > Sent: 31 August 2001 20:49
> > > To: XSL-List@lists.mulberrytech.com
> > > 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
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list