XML_sql2xml::addXmlString

XML_sql2xml::addXmlString – XML 文字列を追加する

Synopsis

require_once "XML/sql2xml.php";

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

Description

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

Parameter

  • string $string - XML 文字列

  • 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.