Re: [xsl] Parameters with Xalan 1.2 or 2.0

Subject: Re: [xsl] Parameters with Xalan 1.2 or 2.0
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Tue, 30 Jan 2001 19:08:24 -0500
From: "Frank Neugebauer" <neuggs@xxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Parameters with Xalan 1.2 or 2.0
Date: Tue, 30 Jan 2001 17:39:13
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW2-F127uClW8fySkU00003896@xxxxxxxxxxx>
X-OriginalArrivalTime: 30 Jan 2001 17:39:13.0454 (UTC) FILETIME=[8F67FCE0:01C08AE3]


Siegfried,

Did you mean to put the "{}" around the variable? They don't belong there.
In other words:

You have:
<xsl:value-of select="{$param1}"/>

Should be:
<xsl:value-of select="$param1"/>

Regards,
Frank Neugebauer.


From: "Haag, Siegfried" <Siegfried.Haag@xxxxxxxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [xsl] Parameters with Xalan 1.2 or 2.0
Date: Tue, 30 Jan 2001 18:15:59 +0100

Hi,

the UseStylesheetParam example in Xalan does not work
like the XLT-spec of w3c says:
  xsl:value-of select="$param1" /
is ok. The string is copied to the place.

But
  xsl:value-of select="{$param1}" /
makes an error: wrong character.....

Any solution, or do i misunderstand it?


Yours sincerely


Siegfried Haag
E-Business Consultant

SAG Systemhaus GmbH
Niederlassung M¸nchen
Elsenheimer Strasse 11
D-80687 M¸nchen

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread