I'm taking a \[code\]DataSet\[/code\], loading it into an \[code\]XmlDocument\[/code\], transforming it with an XSLT file and trying to remove special characters from my output file.Abbreviated code:\[code\]DataSet ds = GetData(); //queries databaseXmlDocument doc = new XmlDocument();doc.LoadXml(ds.GetXml());XslCompiledTransform trans = new XmlCompiledTransform();trans.Load("myTemplate.xslt");XmlTextWriter writer = new XmlTextWriter("C:\output.xml", Encoding.GetEncoding("ISO-885901"));trans.Transform(doc, null, writer);writer.Close();\[/code\]XSLT Header\[code\]<?xml version="1.0" encoding="iso-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >\[/code\]I thought it just had to do with the Encoding, which is why I put the \[code\]Encoding.GetEncoding("ISO-8859-1")\[/code\] on there, though I may have the wrong one. Specifically, I need to remove characters like ? from the output. If it's not the encoding, then is there any way I can strip these characters out?