M
Mark
I'm getting the error "The URI scheme is too long." in the code below. What
is URI in this context? The XSL or the XML being transformed?
Thanks!
-Mark
StringBuilder sb = new StringBuilder();
//Create the XslCompiledTransform and Load it with the xsltDocument
XslCompiledTransform xslCompiledTransform = new XslCompiledTransform();
xslCompiledTransform.Load(xslFileNameWithPath);
//Create StringWriter for transformation output
StringWriter stringWriter = new StringWriter(sb);
//Transforming. The currentTransform already has knowledge of the XSL to
apply at this point.
xslCompiledTransform.Transform(xmlToTransform, null, stringWriter);
stringWriter.Close();
return sb.ToString();
is URI in this context? The XSL or the XML being transformed?
Thanks!
-Mark
StringBuilder sb = new StringBuilder();
//Create the XslCompiledTransform and Load it with the xsltDocument
XslCompiledTransform xslCompiledTransform = new XslCompiledTransform();
xslCompiledTransform.Load(xslFileNameWithPath);
//Create StringWriter for transformation output
StringWriter stringWriter = new StringWriter(sb);
//Transforming. The currentTransform already has knowledge of the XSL to
apply at this point.
xslCompiledTransform.Transform(xmlToTransform, null, stringWriter);
stringWriter.Close();
return sb.ToString();