Function Tag.toSDLDocument
Treats 'this' as the root tag. Note that root tags
cannot have
values
or attributes
, and cannot be part of a namespace
.
If this isn't a valid root tag, 'SDLangValidationException' will be thrown.
Prototypes
string toSDLDocument()( string indent = "\x09", int indentLevel = 0 ); void toSDLDocument(Sink)( ref Sink sink, string indent = "\x09", int indentLevel = 0 ) if (isOutputRange!(Sink, char));