EDN Admin
Well-known member
Im using XslCompiledTransform to transform the Xml using XSL stylesheet. I create the instance of the XslCompiledTransform class using the following syntax.
<div style="color:Black;background-color:White; <pre>
XslCompiledTransform transformer = <span style="color:Blue; new XslCompiledTransform();
transformer.Load(<span style="color:#A31515; "C:\Test\Test.xsl");
[/code]
and then i call transformer.Transform() method.
Question is, will the transformer automatically release the style sheet handle? if not then how do release the stylesheet handle as soon as the transform is done?
View the full article
<div style="color:Black;background-color:White; <pre>
XslCompiledTransform transformer = <span style="color:Blue; new XslCompiledTransform();
transformer.Load(<span style="color:#A31515; "C:\Test\Test.xsl");
[/code]
and then i call transformer.Transform() method.
Question is, will the transformer automatically release the style sheet handle? if not then how do release the stylesheet handle as soon as the transform is done?
View the full article