|
-
XSLT Namespace URI Issue
Hi,
I am using XALAN C++ 1.8 & Xerces C++ 2.5 for transforming an XML document - with XSL 1.0.
My goal is to implement a date difference function where one date is passed in through my XML and the other date is the current system date.The difference between these two dates in days is returned in the resultant XML file. I have implemented this using a Javascript function inside an msxsl:script block - and when I try to run the transform process, it throws me a XalanXPathException - saying that the namespace provided by me is invalid as the function is not available at that namespace. The transform works fine if I test it in my browser, but when tried with this parser, it fails.
Can somebody please suggest a workaround/fix for this?
The error is as below :
Description [StreamTransform Error: XalanXPathException: The function 'http://mycompany.com/mynamespace:get_interval' is not available. (, line 543, column 75)] Code [0] Line [107] File [<application path>\src\XSLTransformer.cpp]
Similar Threads
-
Replies: 0
Last Post: 10-23-2007, 11:29 AM
-
By Patrick Long in forum XML
Replies: 1
Last Post: 03-01-2002, 02:47 PM
-
By Thomas Eyde in forum .NET
Replies: 290
Last Post: 12-22-2001, 02:13 PM
-
By Saurabh in forum dotnet.announcements
Replies: 0
Last Post: 09-19-2001, 06:48 AM
-
Replies: 0
Last Post: 06-21-2001, 05:33 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks