3 class Kint_Parsers_Xml extends kintParser
5 protected function _parse( & $variable )
8 if ( is_string( $variable ) && substr( $variable, 0, 5 ) === '<?xml' ) {
9 $e = libxml_use_internal_errors( true );
10 $xml = simplexml_load_string( $variable );
11 libxml_use_internal_errors( $e );
12 if ( empty( $xml ) ) {
18 } catch ( Exception $e ) {
22 $this->value = kintParser::factory( $xml )->extendedValue;