Some strange behaviour of XSL Transformation

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<div style="color:Black;background-color:White; <pre>
XslCompiledTransform xslt = <span style="color:Blue; new XslCompiledTransform();
xslt.Load(<span style="color:#A31515; "C:\Inetpub\wwwroot\IntegrationBusWS\transform.xslt");
XmlNodeReader rdr = <span style="color:Blue; new XmlNodeReader(xmlDoc);
StringWriter sw = <span style="color:Blue; new StringWriter();
xslt.Transform(rdr,<span style="color:Blue; null,sw);
pXMLData = sw.ToString();

[/code]
somewhat this code workes correctly in Win32-application, and doesnt work in WebService - <span style="white-space:pre pXMLData containes same data as
<span style="white-space:pre xmlDoc.
<span style="white-space:pre Is something incorrect in this code? <hr class="sig -- Alexey

View the full article
 
Back
Top