RE: [xsl] XSLT 2.0 and external parameters: a string -> xsd:integer. How?

Subject: RE: [xsl] XSLT 2.0 and external parameters: a string -> xsd:integer. How?
From: Andrew Watt <andrew@xxxxxxxxxxxxxx>
Date: Tue, 20 May 2003 21:22:33 +0100
At 20:53 20/05/2003 +0100, you wrote:
Write:

<xsl:param name="p" as="xs:string"/>
<xsl:variable name="p-as-int" as="xs:integer" select="xs:integer($p)"/>

Michael,


Thanks for the helpful reply. What you suggested I do was what I had done ... or to be more precise it was what I thought I had done.

Things would have been much better if I had remembered to change number=3 on the command line to string=3. Doh! :(

The f3 key and my lack of brain have much to answer for! :)

Thanks again

Andrew Watt



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


Current Thread