Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] Client XSL transformation with namespaces (on IE 6)

From: dabla &#xA9; <dj_sasha@----------->
To:
Date: 9/1/2005 7:48:00 AM
Hi,



I have some questions regarding XSL transformations on the client side, in 
my case Internet Explorer 6.0.  I've written an XSL stylesheet wich uses 
quite some functions and which works fine when it is transformed on the 
server side.  Still I would like to do the same on the client side.



The problem is that when the transformation is executed within IE 6, I 
receive errors like for example:



Namespace 'http://exslt.org/sets' does not contain any functions.



Strange thing is, the I also use the following functions from this 
namespace:



xmlns:str="http://exslt.org/strings"



This seems to work and doesn't produce any errors when I manually import 
these functions within the XSL like this (didn't have to do this for the 
server side transform):



<xsl:import 
href="http://www.exslt.org/str/functions/tokenize/str.tokenize.msxsl.xsl"/>



I've tried the same for the set namespace but no avail.  What's then the 
difference between the two?  What I mean is why does one work and the other 
doesn't?



Is there any way to avoid those problems (e.g. workaround), or can't it just 
be resolved within IE due to the parser implementation?



I would like to use the following namespaces (and their associated 
functions):



- xmlns:xalan="http://xml.apache.org/xalan": xalan:nodeset($variable)

- xmlns:set="http://exslt.org/sets": set:distinct($variable)

- xmlns:str="http://exslt.org/strings": str:tokenize($variable)

- xmlns:fn="http://www.w3.org/2005/02/xpath-functions": 
fn:starts-with($variable)



Thanks and kind regards,
David


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent