$(PHOBOS_REF Flag, std, typecons) indicating whether closeStartTag or writeStartTag or will write an empty element tag (which then does not require a corresponding end tag).
$(PHOBOS_REF Flag, std, typecons) indicating whether a write function of XMLWriter which accepts text which may include newlines will write an indent after each newline is written.
$(PHOBOS_REF Flag, std, typecons) indicating whether a write function of XMLWriter will write a newline followed by an indent before the entity being written.
Exception thrown when the writer is given data that would result in invalid XML.
Helper function for writing text which has a start tag and end tag on each side and no attributes so that it can be done with one function call instead of three.
Writes the <?xml...?> declaration to the given output range. If it's going to be used in conjunction with XMLWriter, then either writeXMLDecl will need to be called before constructing the XMLWriter, or XMLWriter._output will need to be used to write to the output range before writing anything else using the XMLWriter. XMLWriter expects to be writing XML after the <?xml...?> and <!DOCTYPE...> declarations (assuming they're present at all), and it is invalid to put a <?xml...?> declaration anywhere but at the very beginning of an XML document.
Writes XML to an output range of characters.
Writes XML to an output range of characters.
See Source File
$(LINK_TO_SRC dxml/_writer.d)
Copyright 2018 - 2023
This module provides functionality for creating XML 1.0 documents.
Primary Symbols
Helper Types
Helper Functions