المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Xml special character



C# Programming
04-29-2009, 11:22 AM
Can I get the special xml strings (< & etc) directly instead of being translated?

For example, given the data "RCI>", the code:

xmlReader.ReadStartElement("DATA");
data = xmlReader.ReadString();
xmlReader.ReadEndElement();

Gives: "RCI>". Can I get the raw "RCI>" and if so, how?

Thanks