[xsl] saxon to .net exslt problem

Subject: [xsl] saxon to .net exslt problem
From: Don Smith <dsmith_lockesmith@xxxxxxxxx>
Date: Mon, 5 Nov 2007 09:08:29 -0800 (PST)
I've developed an 1.0 transformation using the Saxon
Java engine. It uses the date() function from the
exslt library. Everything works fine.

We're now trying to move this to a .NET 2.0
environment. 

This code snippet:

System.Xml.Xsl.XslCompiledTransform xsl = new
System.Xml.Xsl.XslCompiledTransform();
xsl.Load(xsltPath);
xsl.Transform(xmlPath, htmlPath); // THIS LINE THROWS
AN ERROR

throws this error:

System.Xml.Xsl.XslTransformException: Cannot find the
script or external object that implements prefix
'http://exslt.org/dates-and-times'. at. . .(I can
include the rest of this error message if necessary) 

We've confirmed that everything works in Saxon and
that we have all supporting files in the .NET
environment. Any ideas or suggestions would be
appreciated.

Thanks,

Don



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread