# XMLWriter

- Introduction
- Installing/Configuring
  - Requirements
  - Installation
  - Runtime Configuration
  - Resource Types
- Predefined Constants
- Examples
  - Creating a simple XML document
  - Working with XML namespaces
  - Working with the OO API
- XMLWriter Functions
  - XMLWriter::endAttribute — End attribute
  - XMLWriter::endCdata — End current CDATA
  - XMLWriter::endComment — Create end comment
  - XMLWriter::endDocument — End current document
  - XMLWriter::endDtdAttlist — End current DTD AttList
  - XMLWriter::endDtdElement — End current DTD element
  - XMLWriter::endDtdEntity — End current DTD Entity
  - XMLWriter::endDtd — End current DTD
  - XMLWriter::endElement — End current element
  - XMLWriter::endPi — End current PI
  - XMLWriter::flush — Flush current buffer
  - XMLWriter::fullEndElement — End current element
  - XMLWriter::openMemory — Create new xmlwriter using memory for string output
  - XMLWriter::openUri — Create new xmlwriter using source uri for output
  - XMLWriter::outputMemory — Returns current buffer
  - XMLWriter::setIndentString — Set string used for indenting
  - XMLWriter::setIndent — Toggle indentation on/off
  - XMLWriter::startAttributeNs — Create start namespaced attribute
  - XMLWriter::startAttribute — Create start attribute
  - XMLWriter::startCdata — Create start CDATA tag
  - XMLWriter::startComment — Create start comment
  - XMLWriter::startDocument — Create document tag
  - XMLWriter::startDtdAttlist — Create start DTD AttList
  - XMLWriter::startDtdElement — Create start DTD element
  - XMLWriter::startDtdEntity — Create start DTD Entity
  - XMLWriter::startDtd — Create start DTD tag
  - XMLWriter::startElementNs — Create start namespaced element tag
  - XMLWriter::startElement — Create start element tag
  - XMLWriter::startPi — Create start PI tag
  - XMLWriter::text — Write text
  - XMLWriter::writeAttributeNs — Write full namespaced attribute
  - XMLWriter::writeAttribute — Write full attribute
  - XMLWriter::writeCdata — Write full CDATA tag
  - XMLWriter::writeComment — Write full comment tag
  - XMLWriter::writeDtdAttlist — Write full DTD AttList tag
  - XMLWriter::writeDtdElement — Write full DTD element tag
  - XMLWriter::writeDtdEntity — Write full DTD Entity tag
  - XMLWriter::writeDtd — Write full DTD tag
  - XMLWriter::writeElementNs — Write full namespaced element tag
  - XMLWriter::writeElement — Write full element tag
  - XMLWriter::writePi — Writes a PI
  - XMLWriter::writeRaw — Write a raw XML text