Close
EncodeName
get_DefaultRoot
get_Stream
get_TextWriter
IsValidName
LineFormat
LineFormat_Break
LineFormat_Indent
LineFormat_None
set_DefaultRoot
UriToQName
UriToQName
WriteAttribute
WriteBytes
WriteCharacters
WriteEndElement
WriteStartElement
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
XmlWriter
OSGeo::FDO::Common::Xml::XmlWriter::XmlWriter | ( | System::String * | fileName,
|  | System::Boolean | defaultRoot,
|  | OSGeo::FDO::Common::Xml::XmlWriter::LineFormat | lineFormat,
|  | System::UInt32 | lineLength |
| ) |  |  |
  Constructs an XML writer on a file. Parameters:
  | fileName | Input name of the file to write.
  | 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).
  | lineFormat | Input indentation string for XML elements. If NULL the XML document contains no line breaks and elements are not indented. if L"" then the XML document has a line break after every end element tag but no elements are indented. Otherwise, this string must only contain spaces or tabs; the XML document has a line break after every end element and each element start is prepended with a repetition of this string. The string is repeated according to the element's nesting level.
  | lineLength | Input maximum line length. If 0 there is no maximum. Otherwise, a line break is added before an XML attribute is written, if the attribute would have caused the current line to exceed this length.