PEN
11-23-2010, 09:41 PM
So I have read in an XML doc and I want to convert it to a string.
http://netomatix.com/XmlFileToString.aspx
That post explains how to do it but I can't convert it to MXS for some reason. Don't know what I'm missing.
This code doesn't work
sw=dotNetClass "System.IO.StringWriter"
xw=dotNetObject "System.Xml.XmlTextWriter" sw
xmlDoc.writeTo xw
sw.toString()
http://netomatix.com/XmlFileToString.aspx
That post explains how to do it but I can't convert it to MXS for some reason. Don't know what I'm missing.
This code doesn't work
sw=dotNetClass "System.IO.StringWriter"
xw=dotNetObject "System.Xml.XmlTextWriter" sw
xmlDoc.writeTo xw
sw.toString()
