|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sqrt
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








