Subject: Re: Problem with new XT version From: "Chuck White" <chuck@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 26 Jul 1999 14:23:13 -0700 |
You'll want to take note of Section E, http://www.w3.org/1999/07/WD-xslt-19990709 E Changes from Previous Public Working Draft, which discusses changes to the xsl:param-variable (among others). The newest version of XT is in accordance with the latest working draft, minus the exclusions noted on the XT home page. regards, Chuck White Creative Director Advance Recruitment Advertising, Inc. chuck@xxxxxxxxxxxxxxxxxxxxxx http://www.advancerecruitment.com -------------------------------------------------- author of Internet Explorer 5 Developer's Guide. M&T Press, IDG Books Worldwide co-author Mastering XML Sybex Books, September, 1999 ---------- >From: "Mallikarjuna Sangappa" <malliks@xxxxxxxxxxx> >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: Problem with new XT version >Date: Mon, Jul 26, 1999, 1:46 PM > >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 > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Problem with new XT version, Sebastian Rahtz | Thread | Re: Problem with new XT version, Mallikarjuna Sangapp |
Problem with new XT version, Mallikarjuna Sangapp | Date | Square root with formatting objects, Imran Rashid |
Month |