Wednesday, November 03, 2004

XML Transformations with C# Part 2

Well, I found the error in the function from my previous post about XML Transformations with C#. The line with:


XmlWriter tempXmlWriter = new XmlTextWriter(tempStringBuilder, xSet);


needs to be:


XmlWriter tempXmlWriter = XmlTextWriter.Create(tempStringBuilder, xSet);


Just goes to show you how transferring code from one test system to another can create pain points.

No comments: