Writing xml

The default behavior of an XmlWriter created using Create is to throw an ArgumentException when attempting to write character values in the range 0x-0x1F (excluding white space characters 0x9, 0xA, and 0xD). These invalid XML characters can be written by creating the XmlWriter with the CheckCharacters property set to false. Doing so will result in the characters being replaced with numeric character entities ( � through &#0x1F ). Additionally, an XmlTextWriter created with the new operator will replace the invalid characters with numeric character entities by default.

Writing xml

writing xml

Media:

writing xmlwriting xmlwriting xmlwriting xml