Subject: RE: transformation adds attributes in TEI.2
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 9 Jun 2004 10:20:54 +0100
|
> I've noticed for a long time that when I do a transformation
> of a TEI.2
> document, the transformation adds attributes.
>
> I assume that the transformer reads the DTD and adds the attributes
> accordingly. Is this correct? Why does it do this? What advantages are
> gained from adding these attributes?
>
No, the XML parser adds these attributes. This is correct; if the DTD author
hadn't wanted this effect, they wouldn't have included default attribute
values in the DTD.
Michael Kay
|