Class Dtd2Def.Phase1.AttConverter

Enclosing class:
Dtd2Def.Phase1

protected class Dtd2Def.Phase1.AttConverter extends DTM.SinglePathVisitor
Translates d2d attribute definitions to d2d expressions on references. and creates the corresponding d2d definitions. The latter either in the global aux element Dtd2Def.attContainer, or local to the current element targetEl. The name may be mangled due to LL(1) conflicts with the content model (As in HTML "td/abbr" vs "td/@abbr" and "ins/cite" vs "ins/@cite").

"#FIXED" attributes are not translated at all.

Create one instance and re-use it for all attributes of one single element, by invoking translate(DTM.Attribute).