Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Driving me crazy:- Why can't I use the standard W3C XPath functions with XslTransform ?

$
0
0

I have this as one of the namespaces

                xmlns:fn="http://www.w3.org/2005/xpath-functions"

I am using a string xpath function like this

      <xsl:value-of  select="fn:substring-after(currentnode, 'First')"/>
 

I got the following error when I try to transform using MS Xml Libraries ? Why in the world Microsoft would do that ? Are they trying to force us into using msxml ? Why would they ditch the standard XPath functions ?

An unhandled exception of type 'System.Xml.Xsl.XsltException' occurred in System.Data.SqlXml.dll

Additional information: Cannot find the script or external object that implements prefix 'fn'.


Fahad


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>