xslt - Umbraco and EXSLT sets do not work -
i'm creating xslt's using umbraco 4.5.2 , want add de set:distinct function exslt.org (http://www.exslt.org/set/functions/distinct/index.html) however, when reference set:distinct error:
system.xml.xsl.xsltransformexception: cannot find script or extension object associated namespace 'http://exslt.org/sets'.
i've added files, extension in xslt , namespace this:
<?xml version="1.0" encoding="utf-8"?> <!doctype xsl:stylesheet [ <!entity nbsp " "> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:exsl="http://exslt.org/functions" xmlns:set="http://exslt.org/sets" xmlns:umbraco.library="urn:umbraco.library" xmlns:exslt.exsltcommon="urn:exslt.exsltcommon" xmlns:exslt.exsltdatesandtimes="urn:exslt.exsltdatesandtimes" xmlns:exslt.exsltmath="urn:exslt.exsltmath" xmlns:exslt.exsltregularexpressions="urn:exslt.exsltregularexpressions" xmlns:exslt.exsltstrings="urn:exslt.exsltstrings" xmlns:exslt.exsltsets="urn:exslt.exsltsets" exclude-result-prefixes="exsl msxml umbraco.library exslt.exsltcommon exslt.exsltdatesandtimes exslt.exsltmath exslt.exsltregularexpressions exslt.exsltstrings exslt.exsltsets "> <xsl:import href="set.xsl" />
is me that's missing or umbraco that's throwing error or underlaying network error occur somewhere (and if so, how find out)?
tia!
the umbraco framework includes exslt.sets implementation, don't need add further reference above. can see reference umbraco implementation in code above, looks this:
xmlns:exslt.exsltsets="urn:exslt.exsltsets"
remove lines:
xmlns:exsl="http://exslt.org/functions" xmlns:set="http://exslt.org/sets"
and use exslt.exsltsets:distinct().
Comments
Post a Comment