SDO_DAS_XML::createDocument()
SDO_DAS_XML::createDocument - Creates an XML Document object from scratch, without the need to load a document from a file or string.
Syntax
SDO_DAS_XML::createDocument (
string $document_element_name,
string $document_element_namespace_URI,
string $document_element_name,
$dataobject,
string $document_element_name,
string $document_element_namespace_URI,
string $document_element_name,
$dataobject)
Arguments
- document_element_name - The name of the document element. Only needed if there is more than one possibility.
- document_element_namespace_URI - The namespace part of the document element name. Only needed if there is more than one possible document element with the same name.
- document_element_name
- dataobject
- document_element_name - The name of the document element. Only needed if there is more than one possibility.
- document_element_namespace_URI - The namespace part of the document element name. Only needed if there is more than one possible document element with the same name.
- document_element_name
- dataobject
Description
Creates an XML Document object. This will contain just one empty root element on which none of the properties will have been set. The purpose of this call is to allow an application to create an XML document from scratch without the need to load a document from a file or string. The document that is created will be as if a document had been loaded that contained just a single empty document element with no attributes set or elements within it.
Version
PHP ^
Return value
Returns an SDO_XML_DAS_Document object on success.