A mapping language, insertable into a DTD, allows automatic mapping from
data sources into XML. A mapping results from the establishment of a
correspondence between entities in a data source on the one hand and
lists and scalars on the other hand. The language maps the lists and
scalars to XML elements and attributes. The mapping language includes two
constructs: the binding specification and the value specification. The
value specification associates with a value or choice declaration. The
binding specification includes at least one variable/expression pair. The
constructs are insertable into a DTD to create an annotated DTD.