File: solrutils_001_digestxmlresponse.php

package info (click to toggle)
php-solr 2.5.1%2B2.4.0-5%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,868 kB
  • sloc: ansic: 40,022; xml: 2,200; php: 1,987; pascal: 8; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
<?php

include "bootstrap.php";

$response = file_get_contents(DOCUMENT_RESPONSE_XML_2);

$object = SolrUtils::digestXmlResponse($response);

$dotted_property = $object["dotted.property"];

print_r($dotted_property);