|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
For the life of me I cannot figure out why this code won't work:
<?xml version="1.0" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="All" extension-element-prefixes="msxsl user"> <xsl utput method="html" /><msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ Var TotalPrice; function AddToTotalPrice(price) { TotalPrice = Totalprice + price; return TotalPrice; } ]]> </msxsl:script> If I comment out the entire <msxsl:script> section the rest of the code works...but when I try to include it, it bombs out. Can anyone help me ??? |
|
#2
|
|||
|
|||
|
try this
Hi try this piece of code, it works for me...
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="http://"> <msxsl:script language="JScript" implements-prefix="user"><![CDATA[........... bye, with regards, Deepak. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > <msxsl:script> failing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|