[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problem with new XT version

Subject: Problem with new XT version
From: "Mallikarjuna Sangappa" <malliks@xxxxxxxxxxx>
Date: Mon, 26 Jul 1999 13:46:10 PDT
Problem with new XT version
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.