Subject: RE: j2sdk1.4.0 xslt and setParameter
From: "Hanlan, Dominic - Senior Developer" <dhanlan@xxxxxxxxx>
Date: Thu, 5 Sep 2002 09:45:51 +0100
|
Yes its a bug which has been masked all this time. xsl:variable should have
been xsl:param. Everythinh now works with 1.4.0.
Thanks
-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@xxxxxx]
Sent: 04 September 2002 18:15
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: j2sdk1.4.0 xslt and setParameter
Then it was a bug in the transformer. It must be <xsl:param
name="AccountAutoCatalog" select="default"/> instead of <xsl:variable/>.
Regards,
Joerg
Hanlan, Dominic - Senior Developer wrote:
> I have been using jdk1.3.1 just fine with the following
>
> trans.setParameter("AccountAutoCatalog",
> "header.accountAutoCatalog");
>
> and a matching
>
> <xsl:variable name="AccountAutoCatalog" select="default"/>
>
> With jdk1.3.1 the setParameter works fine and I get
> "header.accountAutoCatalog", with j2sdk1.4.0 I get the default value
> "default"
>
> Any thoughts ??
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg.heinicke@xxxxxxxxx
www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|