From DTDs to XML Schemas

Translation of elements and attributes

The translation works as follows:

DTD XML Schema




































Encoding of attributes works like so:

DTD XML Schema
    a CDATA #REQUIRED>





    a CDATA #IMPLIED>





    a (x|y|z) #REQUIRED;>











    a CDATA #FIXED "x">





 



你可能感兴趣的:(From DTDs to XML Schemas)