|
Constructor for document
.
document::document( document_formation formation = document_formation(0) );
A document_formation
emumerator, which determines if the document will have root elements present after being created. This optional argument can
be one of two values, the default value of document_formation(0), and root_doc. If the document object is to be cleared of all elements, no argument should be
supplied. Supply the root_doc argument to have the document contain the root elements after being created, thus making the document a
root document.
Nothing.
Constructor for document
. If supplied no argument, constructs an empty document object. If supplied the enumerator
root_doc
, the constructed document object will include the root elements. document_formation(0)
and root_doc
are the only possible arguments which can be passed in document's
constructor.
Constant