xsl-list
[Top] [All Lists]

RE: j2sdk1.4.0 xslt and setParameter

2002-09-05 01:45:51
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(_dot_)heinicke(_at_)gmx(_dot_)de]
Sent: 04 September 2002 18:15
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] 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(_dot_)heinicke(_at_)virbus(_dot_)de
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



<Prev in Thread] Current Thread [Next in Thread>