Source for file unserializeWithAttributes.php
Documentation is available at unserializeWithAttributes.php 
 * This example shows how to parse attributes from  
 * @author  Stephan Schmidt <schst@php.net>  
require_once 'XML/Unserializer.php';   
//  be careful to always use the ampersand in front of the new operator   
// userialize the document  
$status =  $unserializer->unserialize('example.xml', true );   
if (PEAR ::isError ($status)) {  
    echo  'Error: ' .  $status->getMessage ();  
    $data =  $unserializer->getUnserializedData ();   
 
 
        
		    
 
		    Documentation generated on Mon, 11 Mar 2019 15:41:41 -0400 by  phpDocumentor 1.4.4. PEAR Logo Copyright ©  PHP Group 2004.
	        
       |