title: Replace a word in an XML file through StreamReader in XNA?
body: <p>Okay, so this is sort of a hack...but it may have to be. I'm writing an app in XNA, which from my research into this problem apparently doesn't support XML version 1.1. I'm reading in the contents of an ePub document, and one of the newer books encodes its content as a version 1.1 XML document. This causes my program to crash, however, the structure is the same as the rest. The only thing that is keeping it from working is the hard-coded "1.0" in the XmlDocument class. </p>
  
  <p>Is it possible that I could read in the file from the stream, see if it contains:</p>
  
  <p><code>&lt;?xml version="1.1" encoding="UTF-8" standalone="no"?&gt;</code></p>
  
  <p>and simply replace it with "1.0"? Then I could pull it in as an XmlDocument. I'm not doing any writing to the file, or any complex structural reading, just looking for a few specific nodes, and pulling in the values, so I don't know what the ramifications of this would be.</p>