The string representations of the five, entity references predefined by the XML spec.
Decodes any XML character references and standard XML entity references in the text as well as removing any carriage returns. It's intended to be used on the text fields of element tags and on the values of start tag attributes.
Decodes any XML character references and standard XML entity references in the text as well as removing any carriage returns. It's intended to be used on the text fields of element tags and on the values of start tag attributes.
Returns a lazy range of code units which encodes any characters which cannot be put in an attribute value of an element tag in their literal form.
Returns a range of $(K_CHAR) containing the character reference corresponding to the given character.
Returns a lazy range of code units which encodes any characters which cannot be put in an dxml.parser.EntityType._text in their literal form.
If the given range starts with a valid, XML, character reference, it is removed from the range, and the corresponding character is returned.
This parses one of the five, predefined entity references mention in the XML spec from the front of a range of characters.
Strips the indent from a character range (most likely from Entity.text). The idea is that if the XML is formatted to be human-readable, and it's multiple lines long, the lines are likely to be indented, but the application probably doesn't want that extra whitespace. So, stripIndent and withoutIndent attempt to intelligently strip off the leading whitespace.
This module contains helper functions which aren't specific to the parser, the DOM, or the writer.