FDO .NET API Reference Feature Data Objects
OSGeo::FDO::Common::Xml::XmlWriter::XmlWriter ( System::String *  fileName,
System::Boolean  defaultRoot,
OSGeo::FDO::Common::Xml::XmlWriter::LineFormat  lineFormat 
)

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.


Comments or suggestions? Send us feedback.