NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class SimpleXMLElement

  SimpleXMLElement implements Traversable

PHP Extension: SimpleXML
Documented at php.net

## Methods summary

- `final public` `__construct ( mixed $data, mixed $options, mixed $data_is_url, mixed $ns, mixed $is_prefix )`
- `public` `asXML ( mixed $filename )`
- `public` `saveXML ( mixed $filename )`
- `public` `xpath ( mixed $path )`
- `public` `registerXPathNamespace ( mixed $prefix, mixed $ns )`
- `public` `attributes ( mixed $ns, mixed $is_prefix )`
- `public` `children ( mixed $ns, mixed $is_prefix )`
- `public` `getNamespaces ( mixed $recursve )`
- `public` `getDocNamespaces ( mixed $recursve, mixed $from_root )`
- `public` `getName ( )`
- `public` `addChild ( mixed $name, mixed $value, mixed $ns )`
- `public` `addAttribute ( mixed $name, mixed $value, mixed $ns )`
- `public` `__toString ( )`
- `public` `count ( )`

## Methods detail

# `final public`
`__construct( mixed $data, mixed $options, mixed $data_is_url, mixed $ns, mixed $is_prefix )`
# `public`
`asXML( mixed $filename )`
# `public`
`saveXML( mixed $filename )`
# `public`
`xpath( mixed $path )`
# `public`
`registerXPathNamespace( mixed $prefix, mixed $ns )`
# `public`
`attributes( mixed $ns, mixed $is_prefix )`
# `public`
`children( mixed $ns, mixed $is_prefix )`
# `public`
`getNamespaces( mixed $recursve )`
# `public`
`getDocNamespaces( mixed $recursve, mixed $from_root )`
# `public`
`getName( )`
# `public`
`addChild( mixed $name, mixed $value, mixed $ns )`
# `public`
`addAttribute( mixed $name, mixed $value, mixed $ns )`
# `public`
`__toString( )`
# `public`
`count( )`

### Magic methods summary