Web aym.pekori.to

SDO_DAS_XML::saveFile

(no version information, might be only in CVS)

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] )

警告

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

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.