Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : SDO XML Data Access Service Functions : SDO_DAS_XML::saveFile

SDO_DAS_XML::saveFile

Saves the SDO_DAS_XML_Document object to a file ()
void SDO_DAS_XML::saveFile ( SDO_XMLDocument xdoc, string xml_file [, int indent] )

Saves the SDO_DAS_XML_Document object to a file.

Parameters

xdoc

SDO_DAS_XML_Document object.

xml_file

xml file.

indent

Optional argument to specify that the xml should be formatted. A non-negative integer is the amount to indent each level of the xml. So, the integer 2, for example, will indent the xml so that each contained element is two spaces further to the right than its containing element. The integer 0 will cause the xml to be completely left-aligned. The integer -1 means no formatting - the xml will come out on one long line.

Return Values

None.

Errors/Exceptions

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.

Change Language


Follow Navioo On Twitter
SDO_DAS_XML_Document::getRootDataObject
SDO_DAS_XML_Document::getRootElementName
SDO_DAS_XML_Document::getRootElementURI
SDO_DAS_XML_Document::setEncoding
SDO_DAS_XML_Document::setXMLDeclaration
SDO_DAS_XML_Document::setXMLVersion
SDO_DAS_XML::addTypes
SDO_DAS_XML::create
SDO_DAS_XML::createDataObject
SDO_DAS_XML::createDocument
SDO_DAS_XML::loadFile
SDO_DAS_XML::loadString
SDO_DAS_XML::saveFile
SDO_DAS_XML::saveString
eXTReMe Tracker