August 2003
Beginner to intermediate
600 pages
12h 57m
English
The WriteAttributeString method can also be used to write the special XML attributes xml:space and xml:lang. The xml:space attribute determines how white space should be handled within an element's scope. The xml:space attribute has only two possible values: preserve and default. default signals that the parse's white-space processing mode is acceptable for this element. preserve means that all the white space in the element's scope, significant or insignificant, should be preserved. When setting the value of the xml:space attribute, the XmlTextWriter will verifiy that the value is equal to one of the two strings. If it isn't, a System.InvalidOperationException is raised.
The xml:lang attribute specifies ...
Read now
Unlock full access