Subject: [xsl] Re: sqrt From: "Aleksei Valikov" <valikov@xxxxxx> Date: Mon, 13 Aug 2001 10:12:50 +0200 |
Hi. > I need to use a sqrt() math function in a XSL/SVG > style sheet. Knowing that I use a Saxon processor Would this help you? <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:math="java:java.lang.Math" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="math"> <xsl:template match="/"> <return><xsl:value-of select="math:sqrt(4)"/></return> </xsl:template> </xsl:stylesheet> Works in Saxon. Bye. /lexi XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[no subject], edouard panie | Thread | [xsl] Re: sqrt, Jeni Tennison |
[xsl] following and preceding, Meltem Kogelbauer | Date | RE: [xsl] following and preceding, Jarno . Elovirta |
Month |