You are here

static function CMISRepositoryWrapper::doXQuery in CMIS API 7

Same name and namespace in other branches
  1. 6.4 cmis_common/lib/cmis_repository_wrapper.php \CMISRepositoryWrapper::doXQuery()
  2. 6.3 cmis_common/lib/cmis_repository_wrapper.php \CMISRepositoryWrapper::doXQuery()

File

cmis_common/lib/cmis_repository_wrapper.php, line 208

Class

CMISRepositoryWrapper

Code

static function doXQuery($xmldata, $xquery) {
  $doc = new DOMDocument();
  $doc
    ->loadXML($xmldata);
  return CMISRepositoryWrapper::doXQueryFromNode($doc, $xquery);
}