Subject: RE: [xsl] Attribute spacing From: "Chris Bayes" <chris@xxxxxxxxxxx> Date: Fri, 31 Aug 2001 21:54:52 +0100 |
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@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: [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@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 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Attribute spacing, Nesbitt, David | Thread | [xsl] XML based website - comments , Sean Kelly |
Re: [xsl] Attribute spacing, David Carlisle | Date | [xsl] XML based website - comments , Sean Kelly |
Month |