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]
Other format: [Raw text]

scripting and xsl



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]