[xsl] scripting and xsl

Subject: [xsl] scripting and xsl
From: "Dipin Chellani" <dchellani@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 Apr 2002 16:58:06 -0500
Hi! All

I am trying to do some vbscript in xsl and i have written the code as
follows,


xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<xsl:output method="html" indent="yes"/>
<xsl:template name="Claimantmain" match="/">
<LINK REL="stylesheet" TYPE="text/css" HREF="sis.css"/>
<html>
<head>

<script language="VBScript" >
		<![CDATA[

		dim check

		function setCheck(n)

			check = n

		end function

		function getCheck()

			return check

		end function
		]]>
</script>
</head>

<body>


<td width="18%" class="labels" align="left" ><a><xsl:attribute
name="href">vbscript:SetCheck('ABA-004') </xsl:attribute><xsl:value-of
select= "ClaimantNumber"/></a></td>

</body>
</html>
.
.
.
.
</xsl:stylesheet>

This gives me an error that vbscript is not defined.

Can somebody help?

Thanks in advance

Dipin Chellani


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

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


Current Thread