This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Javascript looping expression in stylesheet


Zoe Peng wrote:
> I am going to include a javascript inside the stylesheet. It works in 
> some javascripts. But, it fails when I try to use for function. 
> some charactures can't escape such as for (var i = 1; i <= nom; i++) {}
> It fails in = sign or & sign. any ideas? Thanks. 

Use "&lt;" or "&amp;" for "<" or "&", respectively.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]