- closeDoctype
void closeDoctype()
Undocumented in source. Be warned that the author may not have intended to support it.
- closeElement
void closeElement(StringType tagName)
Undocumented in source. Be warned that the author may not have intended to support it.
- startDoctype
void startDoctype(StringType content)
Undocumented in source. Be warned that the author may not have intended to support it.
- startElement
void startElement(StringType tagName)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeAttribute
void writeAttribute(StringType name, StringType value)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeCDATA
void writeCDATA(StringType cdata)
Outputs a CDATA section with the given content.
- writeComment
void writeComment(StringType comment)
Outputs a comment with the given content.
- writeDeclaration
void writeDeclaration(StringType decl, StringType content)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeProcessingInstruction
void writeProcessingInstruction(StringType target, StringType data)
Outputs a processing instruction with the given target and data.
- writeText
void writeText(StringType text)
Outputs a text node with the given content.
- writeXMLDeclaration
void writeXMLDeclaration(Args args)
Outputs an XML declaration.
- writeXMLDeclaration
void writeXMLDeclaration(StringType version_, StringType encoding, StringType standalone)
- insideDTD
bool insideDTD;
Undocumented in source. Be warned that the author may not have intended to support it.
Component that outputs XML data to an OutputRange.
To format the XML data, it calls specific methods of the PrettyPrinter, if they are defined. Otherwise, it just prints the data with the minimal markup required. The currently available format callbacks are:
Template arguments: _StringType = The type of string to be targeted. The function writeDOM will take care of all UTF conversion if necessary. PrettyPrinter = A struct, that will handle any and all formatting. validateTagOrder = If set to Yes, then tag order will be validated during writing.