previousXML_sql2xml::addXmlFile (Previous) (Next) XML_sql2xml::addResultnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_sql2xml::addXmlString

XML_sql2xml::addXmlString – Adds XML string

Synopsis

require_once "XML/sql2xml.php";

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

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.

previousXML_sql2xml::addXmlFile (Previous) (Next) XML_sql2xml::addResultnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.