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

C# transformation script included within XSLT stylesheet doesn’t work in IE11

$
0
0

Contrary to these articles:

https://msdn.microsoft.com/en-us/library/vstudio/533texsx(v=vs.100).aspx

http://docs.composite.net/FAQ/Developer?q=How+to+run+CSharp+function+in+XSLT%3f

As soon as I include the following:

<msxsl:script language="C#" implements-prefix="user">

</msxsl:script>

into the XSLT stylesheet the output of this XML:

<member name="M:MyNamespace.Connect(System.Object[])">

           <summary>

           Opens connection to the database

           </summary>

           <param name="parameters">Array of connection parameters</param>

           <returns>True is successfully connected, false otherwise.</returns>

  </member>

will look like this:

M:MyNamespace.Connect(System.Object[])Opens connection to the database Array of connection True is successfully connected, false otherwise.

when opened in Internet Explorer 11. On the other hand when the same XML + XSLT is opened in Visual Studio 2013 the output looks correct. Replacing “language="C#"” with “language="javascript"” corrects the output in IE.

Any ideas, please?

Thank you,

Eugene


Viewing all articles
Browse latest Browse all 935

Trending Articles



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