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/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--