You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Pascal Bricard <pb...@sambatechnologies.com> on 2000/06/06 11:12:26 UTC
Xalan C++ V0.30, not supported ?
Hello,
I have downloaded the following files (XML parser and XSLT tool - C++
Windows versions) :
xerces-c_1_1_0-win32.zip
Xalan-C_0_30_0-win32.zip (the version maybe 0.30 ?)
The DLLs and EXEs files extracted are the following :
Size Date(DD/MM/YY) Time(HH:MM)
DOMSupport.dll 69 632 30/03/00 14:20
PlatformSupport.dll 69 632 30/03/00 14:19
TestXSLT.exe 40 960 31/03/00 12:42
xerces-c_1_1.dll 499 712 03/03/00 19:52
XercesParserLiaison.dll 32 768 30/03/00 15:23
XercesPlatformSupport.dll 36 864 31/03/00 12:41
XMLSupport.dll 147 456 30/03/00 15:23
XPath.dll 311 296 30/03/00 15:24
XSLT.dll 536 640 31/03/00 12:41
I am trying the following template :
<xsl:template name="TestCall">
<xsl:param name="Param1">Default_Param1</xsl:param>
<xsl:comment>TestCall : Param1=<xsl:value-of
select="$Param1"/></xsl:comment>
</xsl:template>
and i call it from another template :
...
<xsl:call-template name="TestCall">
<xsl:with-param name="Param1">Call_Param1</xsl:with-param>
</xsl:call-template>
...
i get the following output :
...
<!--TestCall : Param1=Default_Param1-->
...
which is the default value for the Param1 and not the value i passed to the
<xsl:with-param> statement.
Thanks for help,
Pascal Bricard
pbricard@sambatechnologies.com
-
_____________________________________________________________
___
|_)_) Pascal BRICARD e-mail: pbricard@sambatechnologies.com
| |_) Phone : +33 (0) 4 76 04 00 54
SAMBA Technologies
Web : http://www.sambatechnologies.com
Fax : +33 (0) 4 76 04 15 98
Phone : +33 (0) 4 76 04 00 50
Address : 53 chemin du Vieux Chene 38240 MEYLAN FRANCE
______________________________________________________________