" Cannot find the script or external object that implements prefix 'fn' " error when I use "fn" prefix in xslt and I call it with ASP.NET.2.0

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 file, it comes up with the following error message : ‘Cannot find the script or external object that implements prefix 'fn'. Just to mention I use VB as a scripting language in my ASP page. 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,

A Newbie in trouble….Embarrassed

0
entropy2421
2/4/2008 11:19:01 AM
asp.net.xml-datasource 7181 articles. 0 followers. Follow

2 Replies
934 Views

Similar Articles

[PageSpeed] 40

You are probably going to have to use the Saxon DOM to handle your transormation.  The .NET framework doesn't support XPATH 2.0 yet I dont believe.


Dave Yancey
My Blog
0
Diamsorn
2/6/2008 3:00:28 PM

 Hi Dave and thank u for ur advice.

I will try and gather some info on how to achieve transformations with saxon dom and I will let u know how I got on.

Thanx again,

Newbie in trouble... 

 

 

0
entropy2421
2/11/2008 9:51:13 AM
Reply:

Similar Artilces:

"Server Error in '/' Application" in .net 2.0
I have a working application which suddenly stopped working with the message: "Server Error in '/' Application. The resource cannot be found" I use asp.net 2.0 and work with a file-system web (no IIS for now). My office runs the security updates on the network from time to time, and my guess is: this is the culprit. The app still works on my laptop. I did run aspnet_regiis. Just in case, although I did not expect it to help. Any help would be greatly appreciated. Thanks. More detail about the error message, please. When it says "Resource cannot be found" is it talking about your defaul...

superreview requested: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 151481] (Cv1) <nsMsgBodyHandler.cpp> #2
Serge GAUTHERIE <gautheri@noos.fr> has asked Dan Mosedale <dmose@mozilla.org> for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 151481: (Cv1) <nsMsgBodyHandler.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=151481&action=edit ------- Additional Comments from Serge GAUTHERIE <gautheri@noos.fr> No super-review from <bienvenu@nventure.com> since "2004-06-22" :-( ...

RFC: interactions between "use bytes", "use locale", and "use feature 'unicode_strings'
I am waiting for blead to reopen before I submit a patch for extending feature unicode_strings to matching \s, and \w. In documenting it, it occurred to me that the existing implementation is wrong, along with the existing interaction between use bytes and use locale. To refresh your memory, "use feature 'unicode_strings'" is supposed to mean that even non-utf8 data is to be considered to have Unicode semantics. In practice, this only affects the characters from 128-255. It is new in 5.12, and is implemented there only on functions that change case, such a...

I'm getting an error using NavigateURL ='<%# Eval("Url") %>', it works when using NavigateURL="intro.aspx"
I'm getting an error using NavigateURL ='<%# Eval("Url") %>', it works when I use NavigateURL="intro.aspx" Server Error in '/orthoassist' Application. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. Requested URL: /orthoassist/intro.aspx <asp:HyperLink runat="server" ID="hl1" Text=...

superreview requested: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 146639] (Bv1b-r) <morkParser.cpp> (for review only) #2
Serge GAUTHERIE <gautheri@noos.fr> has asked Seth Spitzer <sspitzer@mozilla.org> for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 146639: (Bv1b-r) <morkParser.cpp> (for review only) http://bugzilla.mozilla.org/attachment.cgi?id=146639&action=edit ...

superreview cancelled: [Bug 90906] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call") : [Attachment 174788] (Tv1) transformiix/xpath #2
Peter Van der Beken <peterv@propagandism.org> has cancelled Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 90906: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call") https://bugzilla.mozilla.org/show_bug.cgi?id=90906 Attachment 174788: (Tv1) transformiix/xpath https://bugzilla.mozilla.org/attachment.cgi?id=174788&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> Code was rewritten as part of the fix for bug 278981. ...

superreview granted: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 156855] (Cv2) <nsMsgBodyHandler.cpp>
Dan Mosedale <dmose@mozilla.org> has granted Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 156855: (Cv2) <nsMsgBodyHandler.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=156855&action=edit ------- Additional Comments from Dan Mosedale <dmose@mozilla.org> sr=dmose ...

superreview granted: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 137748] (Av1b) <nsMacMain.cpp>
Brian Ryner <bryner@brianryner.com> has granted Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 137748: (Av1b) <nsMacMain.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=137748&action=edit ------- Additional Comments from Brian Ryner <bryner@brianryner.com> The explicit |(void)| cast should not be needed. sr=bryner if you remove that. ...

superreview requested: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 151481] (Cv1) <nsMsgBodyHandler.cpp>
Serge GAUTHERIE <gautheri@noos.fr> has asked David Bienvenu <bienvenu@nventure.com> for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 151481: (Cv1) <nsMsgBodyHandler.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=151481&action=edit ------- Additional Comments from Serge GAUTHERIE <gautheri@noos.fr> Matthias: Could you try to compile, and possibly test, this patch ? Thanks. Note {{ GetI...

superreview requested: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 156855] (Cv2) <nsMsgBodyHandler.cpp>
Serge GAUTHERIE <gautheri@noos.fr> has asked Dan Mosedale <dmose@mozilla.org> for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 156855: (Cv2) <nsMsgBodyHandler.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=156855&action=edit ------- Additional Comments from Serge GAUTHERIE <gautheri@noos.fr> Keeping {{ (Cv1) <nsMsgBodyHandler.cpp> patch 2004-06-22 15:20 PDT neil.parkwaycc.co.uk...

superreview granted: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 151802] (Dv1) <nsViewManager.cpp>
David Baron <dbaron@dbaron.org> has granted Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 151802: (Dv1) <nsViewManager.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=151802&action=edit ...

superreview cancelled: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 151481] (Cv1) <nsMsgBodyHandler.cpp>
Serge GAUTHERIE <gautheri@noos.fr> has cancelled Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 151481: (Cv1) <nsMsgBodyHandler.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=151481&action=edit ...

superreview requested: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 137748] (Av1b) <nsMacMain.cpp>
Serge GAUTHERIE <gautheri@noos.fr> has asked Brian Ryner <bryner@brianryner.com> for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 137748: (Av1b) <nsMacMain.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=137748&action=edit ...

superreview granted: [Bug 228780] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") : [Attachment 141227] (Av1c) <nsMacMain.cpp>
Serge GAUTHERIE <gautheri@noos.fr> has granted Serge GAUTHERIE <gautheri@noos.fr>'s request for superreview: Bug 228780: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 2/2: "with function call") http://bugzilla.mozilla.org/show_bug.cgi?id=228780 Attachment 141227: (Av1c) <nsMacMain.cpp> http://bugzilla.mozilla.org/attachment.cgi?id=141227&action=edit ------- Additional Comments from Serge GAUTHERIE <gautheri@noos.fr> Keeping { (Av1b) <nsMacMain.cpp> patch 2003-12-20 05:33 PST pinkerton: r...

superreview requested: [Bug 90906] Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call") : [Attachment 146707] (Qv1) </ipc/*> #2
Daniel (Leaf) Nunes <leaf@mozilla.org> has asked Scott Collins <scc@mozilla.org> for superreview: Bug 90906: Fix all "Unused variable '[...]'" 'Build Warnings' (Part 1/2: "with no function call") http://bugzilla.mozilla.org/show_bug.cgi?id=90906 Attachment 146707: (Qv1) </ipc/*> http://bugzilla.mozilla.org/attachment.cgi?id=146707&action=edit ------- Additional Comments from Daniel (Leaf) Nunes <leaf@mozilla.org> punting super-revew to scc; this looks fine to me, scott, since, well, the variable is unused and the func...

Web resources about - " Cannot find the script or external object that implements prefix 'fn' " error when I use "fn" prefix in xslt and I call it with ASP.NET.2.0 - asp.net.xml-datasource

Resources last updated: 12/7/2015 4:11:04 PM