Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Xpath functions in XSL not recognised by ASP.NET 2.0

From: Oleg Tkachenko <may@--.---->
To: NULL
Date: 2/6/2008 2:14:00 PM

Unfortunately Microsoft doesn't support XPath 2.0 or XSLT 2.0 yet.
Neither .NET nor MSXML support them.

One alternative would be using EXSLT functions instead of XPath 2.0 (see 
http://www.mvpxml.org)
Second option is to use Saxon.NET (http://saxon.sourceforge.net) for 
doing transformations.

-- 
Oleg

entropia wrote:
> Hi, 
> 
> I’m trying to display the contents of an xml file using an xslt file.  I’m 
> using ASP.NET.2.0 and the xsltCompiledTransform method in order to achieve 
> the transformation. Everything works fine when I don’t have xPath functions 
> in my xslt. But when I declare the namespace 
> ‘xmlns:fn=http://www.w3.org/2005/02/xpath-functions' and I use Xpath 
> functions in my XSLT it comes up with the following error message : ‘Cannot 
> find the script or external object that implements prefix 'fn'.
> 
> Could anyone please tell me what’s happening and why? Is there a way I can 
> surpass that? 
> 
> Your help will be much appreciated!!!
> 
> Thank u in advance,
> 
> Newbie in trouble….
> 
> 



transparent
Print
Mail
Like It
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