Re: [xsl] saxon to .net exslt problem

Subject: Re: [xsl] saxon to .net exslt problem
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Mon, 05 Nov 2007 18:13:13 +0100
Don Smith wrote:

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)

.NET's XSLT processor XslCompiledTransform does not support EXSLT (besides the node-set function I think) so you need to use EXSLT.NET <URL:http://mvp-xml.sourceforge.net/exslt/> to have EXSLT support with the .NET framework.



--


	Martin Honnen
	http://JavaScript.FAQTs.com/

Current Thread