Error with Xpath functions in XSLT when I call it from a .aspx page (Full Version)

All Forums >> [Ask XML questions here] >> .NET programming discussions



Message


entropy2421 -> Error with Xpath functions in XSLT when I call it from a .aspx page (6 February 2008)

Hi all,
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-function' 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….  




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875