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

# Class XMLWriter

PHP Extension: Xmlwriter
Documented at php.net

## Methods summary

- `public` `openUri ( mixed $uri )`
- `public` `openMemory ( )`
- `public` `setIndent ( mixed $indent )`
- `public` `setIndentString ( mixed $indentString )`
- `public` `startComment ( )`
- `public` `endComment ( )`
- `public` `startAttribute ( mixed $name )`
- `public` `endAttribute ( )`
- `public` `writeAttribute ( mixed $name, mixed $value )`
- `public` `startAttributeNs ( mixed $prefix, mixed $name, mixed $uri )`
- `public` `writeAttributeNs ( mixed $prefix, mixed $name, mixed $uri, mixed $content )`
- `public` `startElement ( mixed $name )`
- `public` `endElement ( )`
- `public` `fullEndElement ( )`
- `public` `startElementNs ( mixed $prefix, mixed $name, mixed $uri )`
- `public` `writeElement ( mixed $name, mixed $content )`
- `public` `writeElementNs ( mixed $prefix, mixed $name, mixed $uri, mixed $content )`
- `public` `startPi ( mixed $target )`
- `public` `endPi ( )`
- `public` `writePi ( mixed $target, mixed $content )`
- `public` `startCdata ( )`
- `public` `endCdata ( )`
- `public` `writeCdata ( mixed $content )`
- `public` `text ( mixed $content )`
- `public` `writeRaw ( mixed $content )`
- `public` `startDocument ( mixed $version, mixed $encoding, mixed $standalone )`
- `public` `endDocument ( )`
- `public` `writeComment ( mixed $content )`
- `public` `startDtd ( mixed $qualifiedName, mixed $publicId, mixed $systemId )`
- `public` `endDtd ( )`
- `public` `writeDtd ( mixed $name, mixed $publicId, mixed $systemId, mixed $subset )`
- `public` `startDtdElement ( mixed $qualifiedName )`
- `public` `endDtdElement ( )`
- `public` `writeDtdElement ( mixed $name, mixed $content )`
- `public` `startDtdAttlist ( mixed $name )`
- `public` `endDtdAttlist ( )`
- `public` `writeDtdAttlist ( mixed $name, mixed $content )`
- `public` `startDtdEntity ( mixed $name, mixed $isparam )`
- `public` `endDtdEntity ( )`
- `public` `writeDtdEntity ( mixed $name, mixed $content )`
- `public` `outputMemory ( mixed $flush )`
- `public` `flush ( mixed $empty )`

## Methods detail

# `public`
`openUri( mixed $uri )`
# `public`
`openMemory( )`
# `public`
`setIndent( mixed $indent )`
# `public`
`setIndentString( mixed $indentString )`
# `public`
`startComment( )`
# `public`
`endComment( )`
# `public`
`startAttribute( mixed $name )`
# `public`
`endAttribute( )`
# `public`
`writeAttribute( mixed $name, mixed $value )`
# `public`
`startAttributeNs( mixed $prefix, mixed $name, mixed $uri )`
# `public`
`writeAttributeNs( mixed $prefix, mixed $name, mixed $uri, mixed $content )`
# `public`
`startElement( mixed $name )`
# `public`
`endElement( )`
# `public`
`fullEndElement( )`
# `public`
`startElementNs( mixed $prefix, mixed $name, mixed $uri )`
# `public`
`writeElement( mixed $name, mixed $content )`
# `public`
`writeElementNs( mixed $prefix, mixed $name, mixed $uri, mixed $content )`
# `public`
`startPi( mixed $target )`
# `public`
`endPi( )`
# `public`
`writePi( mixed $target, mixed $content )`
# `public`
`startCdata( )`
# `public`
`endCdata( )`
# `public`
`writeCdata( mixed $content )`
# `public`
`text( mixed $content )`
# `public`
`writeRaw( mixed $content )`
# `public`
`startDocument( mixed $version, mixed $encoding, mixed $standalone )`
# `public`
`endDocument( )`
# `public`
`writeComment( mixed $content )`
# `public`
`startDtd( mixed $qualifiedName, mixed $publicId, mixed $systemId )`
# `public`
`endDtd( )`
# `public`
`writeDtd( mixed $name, mixed $publicId, mixed $systemId, mixed $subset )`
# `public`
`startDtdElement( mixed $qualifiedName )`
# `public`
`endDtdElement( )`
# `public`
`writeDtdElement( mixed $name, mixed $content )`
# `public`
`startDtdAttlist( mixed $name )`
# `public`
`endDtdAttlist( )`
# `public`
`writeDtdAttlist( mixed $name, mixed $content )`
# `public`
`startDtdEntity( mixed $name, mixed $isparam )`
# `public`
`endDtdEntity( )`
# `public`
`writeDtdEntity( mixed $name, mixed $content )`
# `public`
`outputMemory( mixed $flush )`
# `public`
`flush( mixed $empty )`

### Magic methods summary