xsl-list
[Top] [All Lists]

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

2003-05-20 13:22:33
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



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