xsl-list
[Top] [All Lists]

RE: transformation adds attributes in TEI.2

2004-06-09 02:20:54
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




<Prev in Thread] Current Thread [Next in Thread>