[Home] [By Thread] [By Date] [Recent Entries]

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



Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member