|
Subject: RE: [xsl] How to simplify this? From: "anton" <a.m@xxxxxxxxxxx> Date: Tue, 21 Sep 2004 18:47:02 +0200 |
Hi!
>>>
> Is there a better way to do this?
you don't need to use variables unless you want to.
In your case it looks like you want to do something like
onclick="setArrow({position()-1}),'{$thead_id}',;
return sortTable('{$body_id}',{position()-1}) "
>>>
If I use '{$thead_id}', so I get in the output this as string and not my id.
>>>
Ouch you almost never want to use disable-output-escaping like that, just
use <xsl:text> &8593;</xsl:text>
>>>
that works. Thank you!
best wishes
A. Metz
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to simplify this?, David Carlisle | Thread | Re: [xsl] How to simplify this?, David Carlisle |
| [xsl] Release Date vs. Highlight Un, john-xsl-list | Date | Re: [xsl] Release Date vs. Highligh, David Carlisle |
| Month |