The XMLWriter class

Introduction

Class synopsis

XMLWriter
/* Methods */
public bool endAttribute()
public bool endCdata()
public bool endComment()
public bool endDocument()
public bool endDtd()
public bool endDtdAttlist()
public bool endDtdElement()
public bool endDtdEntity()
public bool endElement()
public bool endPi()
public stringint flush(bool $empty = true)
public bool fullEndElement()
public bool openMemory()
public bool openUri(string $uri)
public string outputMemory(bool $flush = true)
public bool setIndent(bool $enable)
public bool setIndentString(string $indentation)
public bool startAttribute(string $name)
public bool startAttributeNs(stringnull $prefix, string $name, stringnull $namespace)
public bool startCdata()
public bool startComment()
public bool startDocument(stringnull $version = "1.0", stringnull $encoding = null, stringnull $standalone = null)
public bool startDtd(string $qualifiedName, stringnull $publicId = null, stringnull $systemId = null)
public bool startDtdAttlist(string $name)
public bool startDtdElement(string $qualifiedName)
public bool startDtdEntity(string $name, bool $isParam)
public bool startElement(string $name)
public bool startElementNs(stringnull $prefix, string $name, stringnull $namespace)
public bool startPi(string $target)
public bool text(string $content)
public bool writeAttribute(string $name, string $value)
public bool writeAttributeNs(
    stringnull $prefix,
    string $name,
    stringnull $namespace,
    string $value
)
public bool writeCdata(string $content)
public bool writeComment(string $content)
public bool writeDtd(
    string $name,
    stringnull $publicId = null,
    stringnull $systemId = null,
    stringnull $content = null
)
public bool writeDtdAttlist(string $name, string $content)
public bool writeDtdElement(string $name, string $content)
public bool writeDtdEntity(
    string $name,
    string $content,
    bool $isParam = false,
    stringnull $publicId = null,
    stringnull $systemId = null,
    stringnull $notationData = null
)
public bool writeElement(string $name, stringnull $content = null)
public bool writeElementNs(
    stringnull $prefix,
    string $name,
    stringnull $namespace,
    stringnull $content = null
)
public bool writePi(string $target, string $content)
public bool writeRaw(string $content)
Table of Contents