XML_sql2xml::addXmlString

XML_sql2xml::addXmlString

XML_sql2xml::addXmlString -- Adds XML string

Description

Adds the content of a xml-string on the same level as a normal result set (mostly just below <root>)

Parameter

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

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.