1. At least one machine-readable storage medium comprising machine-readable instructions that, when executed by the machine, cause the machine to perform a method comprising: receiving at least one indication of at least one user edit to a portion of a document; representing the portion of the document as a node within a hierarchical representation of the document; determining a type of the node; determining whether a customized editor is available for the portion of the document; and when the customized editor is available, populating at least part of the customized editor dynamically based, at least in part, on (i) the type of the node, (ii) imported classes from a schema, and (iii) at least one restriction that is specified by an enum in the schema and that is applicable to the node.