G
Guest
Hi
I am having a problem doing the tranform.
Unlike all the examples I have found, I do not load my XML document via a
path but from a datacall.
I get erros when I try to do the transform (white space cannot be striped)
XmlDocument DealXmlDocument = new XmlDocument();
DealXmlDocument.LoadXml(DataCalls);
XPathNavigator nav = DealXmlDocument.CreateNavigator();
XslCompiledTransform XSLTDocument = new XslCompiledTransform();
XSLTDocument.Load(xsl);
// Transform the file.
System.IO.StringWriter writer = new System.IO.StringWriter();
XSLTDocument.Transform(nav, null, writer); // here is where i get the error
Thanks for any help.
BrianDH
I am having a problem doing the tranform.
Unlike all the examples I have found, I do not load my XML document via a
path but from a datacall.
I get erros when I try to do the transform (white space cannot be striped)
XmlDocument DealXmlDocument = new XmlDocument();
DealXmlDocument.LoadXml(DataCalls);
XPathNavigator nav = DealXmlDocument.CreateNavigator();
XslCompiledTransform XSLTDocument = new XslCompiledTransform();
XSLTDocument.Load(xsl);
// Transform the file.
System.IO.StringWriter writer = new System.IO.StringWriter();
XSLTDocument.Transform(nav, null, writer); // here is where i get the error
Thanks for any help.
BrianDH