>No, in trying to keep MODS lightweight, we did not include language of
>cataloging as an element in MODS. We could add it to RecordInfo if deemed
Why adding a lang attribute to some (all) elements is not lightweight ?

Here is the solutions used in SimpleDocbook and XHTML 1.0 (strict) :

The designers define an entity "common.attrib" at the begining of the dtd
and they use it in some element definition :

<!ENTITY % common.attrib
        "id             ID              #IMPLIED
        lang            CDATA           #IMPLIED    <!-- an attribute very usefull for MODS users -->
        revisionflag    (changed
                        |off)           #IMPLIED


<!ELEMENT title  (%title.char.mix;)*>
<!ATTLIST title


<!ELEMENT subjectterm  (#PCDATA)>
<!ATTLIST subjectterm


XHTML 1.0 (strict) :

This is the same technic, they define an entity at the begining and they use
it in some elements definitions :

<!-- internationalization attributes
  lang        language code (backwards compatible)
  xml:lang    language code (as per XML 1.0 spec)
  dir         direction for weak/neutral text
<!ENTITY % i18n
 "lang        %LanguageCode; #IMPLIED
  xml:lang    %LanguageCode; #IMPLIED
  dir         (ltr|rtl)      #IMPLIED"


<!ELEMENT title (#PCDATA)>
<!ATTLIST title %i18n;>


<!-- generic metainformation -->
<!ATTLIST meta
  http-equiv  CDATA          #IMPLIED
  name        CDATA          #IMPLIED
  content     CDATA          #REQUIRED
  scheme      CDATA          #IMPLIED


Of course in MODS it is possible to use <xsd:attributeGroup> to do this in
an clean manner.


Yves Pratter
Software Engineer

Alex Temex Multimedia
4 Bis, Avenue du pre de Challes
74940 Annecy-le-Vieux
tel. : +33 (04) 50 64 08 97
fax  : +33 (04) 50 64 15 81
mel  :  [log in to unmask]