SDO_DAS_XML::loadFile

(^)

SDO_DAS_XML::loadFile Returns SDO_DAS_XML_Document object for a given path to xml instance document

说明

SDO_DAS_XML::loadFile ( string $xml_file ) : SDO_XMLDocument

Constructs the tree of SDO_DataObjects from the given address to xml instance document. Returns SDO_DAS_XML_Document Object. Use SDO_DAS_XML_Document::getRootDataObject method to get root data object.

参数

xml_file

Path to Instance document. This can be a path to a local file or it can be a URL.

返回值

Returns SDO_DAS_XML_Document object on Success or throws exception as described.

错误/异常

SDO_TypeNotFoundException

Thrown if a type is not defined by the underlying model.

SDO_PropertyNotFoundException

Thrown if a property within a type is not defined in the underlying model.

SDO_DAS_XML_ParserException

Thrown for any problems while parsing the given XSD File.

SDO_DAS_XML_FileException

Thrown if the specified file cannot be found.

相关文章
php com 函数 returns a handle to an already running instance of a com objectphp iis 函数 return the instance number associated with the pathphp sdo das xml sdo das xml 函数php sdo das relational 函数 creates an instance of a relational data access servicephp 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 a given sql query against a relational database and returns 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 函数 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 string
关注编程学问公众号