[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[no subject]

From: edouard panie <edpanie@xxxxxxxxx>
Date: Mon, 13 Aug 2001 00:44:34 -0700 (PDT)
edouard panie
Hi,

I need to use a sqrt() math function in a XSL/SVG
style sheet. Knowing that I use a Saxon processor

Here is the header I had before (when it worked!, but
with out sqrt()):


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
extension-element-prefixes="saxon"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:saxon="http://icl.com/saxon">


I tried with EXSLT, I downloaded math.sqrt.msxsl.xsl
and math.sqrt.js, put them in the same directory as my
xsl stylesheet but it doesn't work!
This is what I tried, but when I run the saxon
processor, it gives errors: the processor doesn't
recognize the SVG tags anymore! I don't understand
what's wrong, can someone give me a hint?



<?xml version="1.0" encoding="utf-8"?>
<stylesheet
xmlns="http://www.w3.org/1999/XSL/Transform" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:saxon="http://icl.com/saxon"
xmlns:func="http://exslt.org/functions" 
xmlns:math="http://exslt.org/math" version="1.0" 
extension-element-prefixes="math func saxon" 
math:doc="http://www.exslt.org/math">

   <import href="math.sqrt.msxsl.xsl"/>
   <func:script language="exslt:javascript"
implements-prefix="math" src="math.sqrt.js"/>
   <script implements-prefix="math" src="math.sqrt.js"
language="javascript"/>
</stylesheet>




Thanks for your help
Ed

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.