[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: How to generate char ",


Subject: Re: How to generate char ",
From: Jeni Tennison <Jeni.Tennison@xxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2000 18:02:46 +0100

Sivaji,

>I am lokking for the html
> like
>
><input type = "button" value = " delete "   onClick =
"chgdelete("loc-del_1")" >

I think you mean:

  <input type = "button" value = " delete "
    onClick = "chgdelete(&quot;loc_del_1&quot;)" >

The double-quotes (") before 'loc-del_1' in your sample would close the
'onClick' attribute value, and any decent HTML parser should object to it.

To generate that, try:

<input type = "button" value = "delete"
  onClick = "{concat('chgdelete(&quot;loc_del_', position(), '&quot;)') }" />

I hope that works for you,

Jeni

Dr Jeni Tennison
Epistemics Ltd, Strelley Hall, Nottingham, NG8 6PE
Telephone 0115 9061301 ? Fax 0115 9061304 ? Email
jeni.tennison@xxxxxxxxxxxxxxxx



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



Current Thread