Xml special character
-
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
-
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
-
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
-
SecurityElement.Escape[^] will escape all XML special characters.
That's the one. Thanks very much.