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]

Re: How to generate char ",


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@epistemics.co.uk



 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]