14
“Specialized” DTDs
•Given two alphabets S, S’
•
•A specialized DTD is a set of expressions:
 s‘ := E’   where E’ is a “regular expression”
and a mapping m : S’ ! S
•Example:
    root := (person|project)*
    person := name1,phone
    project := name2,cost
    name1 := firstName, lastName
    name2 := internalName, publicName