Long story short, I have the following XML contained in a file (not really, but this models what I am doing):
<asp:Label ID="Label1" runat="server" Text="Hello World!" />
<asp:Label ID="Label1" runat="server" Text="Hola mundo!" />
I am trying to load the file into a System.Xml.XmlDocument instance so the contents can be parsed. Unfortunately, .NET throws an exception because it says that "asp" is an unrecognized namespace. (Btw, an XmlReader is not appropriate because I need bi-directional access to the data.)
My thought is to create an XML Schema definition that tells .NET to treat anything inside a <Template> element as raw text and not try to parse it - I will handle that myself. So far I have been unable to do so.
I appreciate any help figuring out how to accomplish this.