SDO_DAS_XML::saveFile

(^)

SDO_DAS_XML::saveFile Saves the SDO_DAS_XML_Document object to a file

说明

SDO_DAS_XML::saveFile ( SDO_XMLDocument $xdoc , string $xml_file [, int $indent ] ) : void

Saves the SDO_DAS_XML_Document object to a file.

参数

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.

返回值

None.

错误/异常

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.

相关文章
php simplexml 函数 interprets an xml file into an objectphp sdo das xml sdo das xml 函数php sdo das relational 函数 returns the special root object in an otherwise empty data graph. used when creating a data graph from scratchphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp sdo das xml 函数 returns the root sdo dataobjectphp sdo das xml 函数 returns root element s namephp sdo das xml 函数 returns root element s uri stringphp sdo das xml 函数 sets the given string as encodingphp sdo das xml 函数 sets the xml declarationphp sdo das xml 函数 sets the given string as xml versionphp sdo das xml 函数 to load a second or subsequent schema file to a sdo das xml objectphp sdo das xml 预定义常量php sdo das xml 函数 to create sdo das xml object for a given schema filephp sdo das xml 函数 creates sdo dataobject for a given namespace uri and type namephp sdo das xml 函数 creates an xml document object from scratch without the need to load a document from a file or stringphp sdo das xml 函数 returns sdo das xml document object for a given path to xml instance documentphp sdo das xml 函数 returns sdo das xml document for a given xml instance stringphp sdo das xml 函数 saves the sdo das xml document object to a filephp sdo das xml 函数 saves the sdo das xml document object to a stringphp sdo 函数 get a data object s container
关注编程学问公众号