XML_sql2xml::addXmlFile

XML_sql2xml::addXmlFile – XML ファイルを追加する

Synopsis

require_once "XML/sql2xml.php";

void XML_sql2xml::addXmlFile ( string $file , mixed $xpath = = null )

Description

正常なリザルトセットと同レベルの XML ファイルの内容を加える (それは <root> 直下になります)

Parameter

  • string $file - ファイル名

  • mixed $xpath - either a string with the XPath expression or an array with the keys "xpath"=>XPath expression and "root"=>tag/subtag/etc, which are the tags to be inserted before the result.

Note

This function can not be called statically.