// Rendered by UMod Pretty Printer at 2024-12-23_19h07m48
// See also the UMod user documentation online.

MODEL DTM =
  EXT NamespaceName FROM eu.bandm.tools.util.xml.NamespaceName
  EXT Modifier FROM eu.bandm.tools.ops.EBNFModifier
  EXT Location FROM eu.bandm.tools.location.Location

  TOPLEVEL CLASS
  ElementRef ALGEBRAIC
        target      Element
  ProcessingInstruction
        target      string
        body        string
  Named ABSTRACT
        location    OPT Location
        name        NamespaceName
  | Element
        attrs       NamespaceName->Attribute
        content     Content
  | Attribute ALGEBRAIC
        type        AttributeType
        def         AttributeDefault
  Dtd
        elems       NamespaceName->Element
        instructions        string->SEQ ProcessingInstruction
  AttributeType ABSTRACT ALGEBRAIC
  | Id ALGEBRAIC
  | IdRefs ALGEBRAIC
  | CData ALGEBRAIC
  | Entities ALGEBRAIC
  | NMTokens ALGEBRAIC
  | NMToken ALGEBRAIC
  | Enumerated ALGEBRAIC
        values      SET string
  | Entity ALGEBRAIC
  | IdRef ALGEBRAIC
  | Notation ALGEBRAIC
  Content ABSTRACT ALGEBRAIC
  | Any ALGEBRAIC
  | CP ABSTRACT ALGEBRAIC
        modifier    Modifier
  | | Sequence ALGEBRAIC
        elems       SEQ CP
  | | Choice ALGEBRAIC
        alts        SEQ CP
  | | Singleton ALGEBRAIC
        ref         ElementRef
  | Mixed ALGEBRAIC
        elems       SET ElementRef
  | Empty ALGEBRAIC
  AttributeDefault ABSTRACT ALGEBRAIC
  | Required ALGEBRAIC
  | Implied ALGEBRAIC
  | AttributeValue ALGEBRAIC
        fixed       bool
        value       string

END MODEL // DTM