XML_sql2xml::addXmlString

XML_sql2xml::addXmlString – Ajoute une chaîne XML

Synopsis

require_once "XML/sql2xml.php";

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

Description

Ajoute le contenu d'une chaîne XML depuis le même degrès qu'un jeu de résultats normal (habituellement, juste après le tag racine).

Parameter

  • string $string - XML string

  • mixed $xpath - soit une chaîne avec une expression XPath ou un tableau avec les clés "xpath"=>expression XPath et "root"=>tag/subtag/etc, qui sont les tags à être insérés avant le résultat.

Note

This function can not be called statically.