Re: [xsl] Inserting global parameter value into xsl:function

Subject: Re: [xsl] Inserting global parameter value into xsl:function
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 18 Jun 2003 18:45:10 +0100
> I am somewhat of an XSL 2.0 newbie,
since 2.0 isn't even fully specified yet, hat goes without saying.

> and I have a fairly simple 
>question that doesn't necessarily have anything to do with 2.0, but 
>involves the xsl:function element.

xsl:function is a 2.0 feature.

<xsl:function name="njp:forwardURL">
<xsl:param name="placeholder"/>

I _think_ that makes this param a string (as in other contexts
xsl:variable and xsl:param with no select and no contentmake a string)
so i think you need to stick an as="xs:integer" there

(untested)

david


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread