Step 2-2. Declare Element Type Name Parameter Entities

For each element type, declare a parameter entity that reflects the element type name:
<!-- ====================================================
     XML Construct Domain Module
    
     Author: your name here

     Copyright (c) 2011 copyright holder
     
     license to use or not use or whatever
     
     ==================================================== -->
     
<!ENTITY % xmlelem    "xmlelem"  >  

These entities allow the element type to be used in content models via the parameter entity. Document type shells can then integrate further specializations of this element type by redeclaring the parameter entity to include specializations of the element, which then are automatically allowed wherever the base element type is allowed. You can also use the parameter entity in constraint modules to specifically allow only the element type in place of its base type.