|
Constructs an XML writer on a text writer.
- Parameters:
-
| writer | Input the text writer. |
| defaultRoot | true: all elements written are wrapped in a default root element, named "DataStore". false: the default root element is not written. In this case, the first element written (via WriteStartElement() ) becomes the root element. The caller is responsible for ensuring that only one root element is written (the XML standard disallows multiple root elements). |
|