Hi,
The stylesheets written with previous version were compiling, but now there
are problems in using them with the new XT version. The sample stylesheet is
as follows :
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl='http://www.w3.org/XSL/Transform/1.0'
indent-result='no' default-space='strip'
xmlns:padclass='http://www.jclark.com/xt/java/Pad'>
<!-- TRANSACTION_CODE -->
<xsl:param-variable name='varTRANSACTION_CODE' expr =
'TRANSACTION_CODE/@TRANSACTION_CODE_VALUE'/>
<xsl:value-of
select='padclass:padLeftjWithSpaces(string($varTRANSACTION_CODE), "2")'/>
<!-- RECORD_VERSION -->
<xsl:param-variable name='varRECORD_VERSION' expr =
'RECORD_VERSION/@RECORD_VERSION_VALUE'/>
<xsl:value-of
select='padclass:padLeftjWithSpaces(string($varRECORD_VERSION), "2")'/>
<!--CLAIM_REFERENCE_ID -->
<xsl:param-variable name='varCLAIM_REFERENCE_ID' expr =
'CLAIM_REFERENCE_ID/@CLAIM_REFERENCE_ID_VALUE'/>
<xsl:value-of
select='padclass:padLeftjWithSpaces(string($varCLAIM_REFERENCE_ID), "25")'/>
<!--TRANSACTION_DATE/MONTH -->
<xsl:param-variable name='varTRANSACTION_DATE_MONTH' expr =
'TRANSACTION_INFO/TRANSACTION_DATE/@MONTH'/>
<xsl:value-of
select='padclass:padRightjWithZeroes(string($varTRANSACTION_DATE_MONTH),
"2")'/>
<!--TRANSACTION_DATE/DAY -->
<xsl:param-variable name='varTRANSACTION_DATE_DAY' expr =
'TRANSACTION_INFO/TRANSACTION_DATE/@DAY'/>
<xsl:value-of
select='padclass:padRightjWithZeroes(string($varTRANSACTION_DATE_DAY),
"2")'/>
</xsl:template>
</xsl:stylesheet>
The above stylesheet produces an error that action expected and not
param-variable. Could anyone throw light on this. Thanks in advance.
CU,
Malliks
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list