Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: can xsl parameters be int or boolean >Thread Next - Re: can xsl parameters be int or boolean Re: can xsl parameters be int or booleanTo: NULL Date: 8/13/2006 11:27:00 PM so does that mean xsl parameters can be passed to the XSLT at run time only as strings. Inside the stylesheet we can write code to bind it to appropiate type???? Greg Collins [Microsoft MVP] wrote: > Once you receive the parameter in your XSLT, you can convert it using the number() and boolean() methods. > > <xsl:param name="IntParam"/> > <xsl:param name="BoolParam"/> > > <xsl:variable name="IntValue" select="number($IntParam)"/> > <xsl:variable name="BoolValue" select="boolean($BoolParam)"/> > > > -- > Greg Collins [Microsoft MVP] > Visit Brain Trove ( http://www.BrainTrove.com ) | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
