XML_sql2xml::addXmlFile | XML_sql2xml::addResult |
XML_sql2xml | |
PEAR Manual | |
require_once "XML/sql2xml.php"; |
void XML_sql2xml::addXmlString (
string $string
,
mixed $xpath = NULL
)
Adds the content of a xml-string on the same level as a normal result set (mostly just below <root>)
string $string - XML string
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.
This function can not be called statically.
XML_sql2xml::addXmlFile | XML_sql2xml::addResult |
XML_sql2xml | |
PEAR Manual | |