|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to simplify this?
> In the HTML-output I need a javascript function with ' mark.
> My template get two parameters, which I wish in single-quoted
> mark. So I define additional three variables for this. Is
> there a better way to do this?
You don't need the variables, just write the apostrophies in directly:
<a onclick="setArrow( {$colPos},'{$thead_id}'); return
sortTable('{$tbody_id}',{$colPos} );">
^ ^ ^
^
cheers
andrew
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








