EDN Admin
Well-known member
I have an XML where in one tag value alone it contains < character, because of which i am getting "The < character, hexadecimal value 0x3C, cannot be included in a name. Line 11, position 24."
I tried replacing the XML by using,
XmlDocumentFragment docFrag_modinfo = xmlDoc.CreateDocumentFragment();
docfrag.InnerXml=modifyTag.Replace("&","&");
its replacing all the characters like &,>,, but not <.
I am searching last 3-4 days for the solution but i didnt get it. So please help me out.
Thanks in advance!!...
<
santhosh kumar kulandaivel<br/>
View the full article
I tried replacing the XML by using,
XmlDocumentFragment docFrag_modinfo = xmlDoc.CreateDocumentFragment();
docfrag.InnerXml=modifyTag.Replace("&","&");
its replacing all the characters like &,>,, but not <.
I am searching last 3-4 days for the solution but i didnt get it. So please help me out.
Thanks in advance!!...
<
santhosh kumar kulandaivel<br/>
View the full article