cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT: Mask the < in jacascript function

Former Member
0 Kudos

Hi everybody,

in a XSLT I have to call a javascript function.

The javascript function has to use a loop:

for (var i=0, i < 10, i++){

But this is not allowed because the < normally opens a element like e.g

<xsl:template name="mytemplate">

So what can in Use instead of < or how do I have to mask the <.

Thanks

regards Mario

Accepted Solutions (0)

Answers (1)

Answers (1)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Refer these links you will be able to use Java Script with XSLT.

http://www.w3schools.com/xsl/xsl_client.asp

http://www.xml.com/pub/a/2003/02/05/tr.html

hope this will help you.

Regards

Aashish Sinha

PS : reward points if helpful