Close
Create
Create
Create
EncodeName
GetDefaultRoot
GetStream
GetTextWriter
IsValidName
LineFormat
LineFormat_Break
LineFormat_Indent
LineFormat_None
SetDefaultRoot
UriToQName
WriteAttribute
WriteBytes
WriteCharacters
WriteEndElement
WriteStartElement
static FDO_API_COMMON FdoXmlWriter* FdoXmlWriter::Create | ( | FdoString * | fileName,
|  | FdoBoolean | defaultRoot = `true`,
|  | LineFormat | lineFormat = `LineFormat_None`,
|  | FdoSize | lineLength = `0` |
| ) |  |  | `[static]`
  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 Line break and indentation options for the output document.
  | 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.
Returns: Returns FdoXmlWriter