# Class RESTian_Application_Xml_Parser

  RESTian_Parser_Base
  RESTian_Application_Xml_Parser

Located at parsers/application-xml-parser.php

Methods summary
`public array|object` | # `parse( string|`SimpleXMLElement` $body )` Returns an object or array of stdClass objects from an XML string. Returns an object or array of stdClass objects from an XML string. #### Parameters $body `string|`SimpleXMLElement`` $body #### Returns `array|object` A(n array of) stdClass object(s) with structure dictated by the passed XML string. #### Throws ``Exception`` #### See https://www.bookofzeus.com/articles/convert-simplexml-object-into-php-array/ https://php.net/manual/en/function.simplexml-load-string.php https://hakre.wordpress.com/2013/02/12/simplexml-type-cheatsheet/ #### Note Leading and trailing space are trim()ed. #### Overrides `RESTian_Parser_Base::parse()`

Methods inherited from RESTian_Parser_Base
`__construct()`

Properties inherited from RESTian_Parser_Base
`$request, $response`