Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XPath 2.0 Functions in IE

Status
Not open for further replies.

CubeE101

Programmer
Nov 19, 2002
1,492
US
I am having the same problems as described in post:
thread426-1042988

Has anyone figured this out...?

...or does IE just not support the 2.0 functions...???


My code includes...
Code:
<xsl:stylesheet version="2.0"
xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform"[/URL]
xmlns:fn="[URL unfurl="true"]http://www.w3.org/2005/xpath-functions"[/URL] >
...
Code:
<xsl:variable name="y" select="fn:replace($x,',','')" />
...

And I'm getting the error:
Namespace ' does not contain any functions.


Using the alternate namespace:

I still get the same error...

Any help would be GREATLY appriciated...

Thanks...
-Josh

Visit My Site
PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
IE uses MSXSL parser to do its transformations, which complies with XSL 1.0 and XPath 1.0. Here's a list of functions which its supports:


It doesn't matter if you give the parser a reference to an external namespace - it doesn't know how to process the function.

If you want to use XPath 2.0 functions, you'll have to use a different parser.

Jon

"I don't regret this, but I both rue and lament it.
 
Jonty,

Just for clarification - if the parsing is on the client, then the client has to have the updated msxml parser ?

Simon
 
IE 6 comes with MSXSL 4 already installed. Earlier versions of IE have earlier versions of MSXSL, which do not support some functions. No version of MSXSL supports any XPath 2 functions.

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top