Hi,
I have the following XSL, given below. In XML Spy, I get the absolute values. In nxslt2, I get this error:
An error occurred while executing transformation: System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix 'http://www.w3.org/2005/02/xpath-functions'.
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/Output/Route"> <html> <head> </head> <body> <xsl:for-each select="Frame"> <tr><td>Abs=<xsl:value-of select="fn:abs(@Longitude)"/></td></tr> </xsl:for-each> </body> </html> </xsl:template></xsl:stylesheet>
Any hints will be helpful.
Thank you.