 <p>I think you'll have to use an XmlWriter. Or ToString.</p> <p>Just found <a href="http://msdn.microsoft.com/en-us/library/bb387027.aspx" rel="nofollow noreferrer">this article</a> which seems to agree.</p>