Doctree validation: Declare/check valid Element attribute names.
New method `nodes.Element.validate()`.
Allows validating a Document Tree or individual Elements, e.g. from XML input or custom directives. Cf. [feature-requests:#94].
Part 1: validate attribute names.
Authored by: milde 2024-05-04
Parent: [r9683]
Child: [r9685]