[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Attribute spacing

Subject: RE: Attribute spacing
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Fri, 31 Aug 2001 21:54:52 +0100
onclick in jsp
Dave,
Well you can't really but you can add a few &#x0D;&#x0A; to the
attribure values
<a href="www.someplace.com&#x0D;&#x0A;" onclick="somefunc()&#x0D;&#x0A;"
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@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Nesbitt, David
> Sent: 31 August 2001 21:26
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Cc: Nesbitt, David
> Subject: RE:  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@xxxxxxxxxxx]
> > Sent: Friday, August 31, 2001 1:07 PM
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: RE:  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:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.