Modeling different types of element/attribute declarations