Writer

Undocumented in source.

Constructors

this
this(OutRange output, PrettyPrinter pretty)
Undocumented in source.

Members

Functions

closeDoctype
void closeDoctype()
Undocumented in source. Be warned that the author may not have intended to support it.
closeElement
void closeElement(string tagName)
Undocumented in source. Be warned that the author may not have intended to support it.
closeElementWithTextNode
void closeElementWithTextNode(string tagName)
Undocumented in source. Be warned that the author may not have intended to support it.
startDoctype
void startDoctype(string content)
Undocumented in source. Be warned that the author may not have intended to support it.
startElement
void startElement(string tagName)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.
writeAttribute
void writeAttribute(string name, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeCDATA
void writeCDATA(string cdata)

Outputs a CDATA section with the given content.

writeComment
void writeComment(string comment)

Outputs a comment with the given content.

writeDeclaration
void writeDeclaration(string decl, string content)
Undocumented in source. Be warned that the author may not have intended to support it.
writeDeclaration
void writeDeclaration(Element node)

<p> This will write the declaration to the given Writer. Assumes XML version 1.0 since we don't directly know. </p>

writeProcessingInstruction
void writeProcessingInstruction(string target, string data)

Outputs a processing instruction with the given target and data.

writeText
void writeText(string text)

Outputs a text node with the given content.

writeXMLDeclaration
void writeXMLDeclaration(Args args)

Outputs an XML declaration.

writeXMLDeclaration
void writeXMLDeclaration(string version_, string encoding, string standalone)
insideDTD
bool insideDTD;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

startingTag
bool startingTag;
Undocumented in source.

Meta