The following instructions were written for the Resource perspective, but they will also work in many other perspectives.
To generate an XML schema file from a DTD file, follow these steps:
Your schemas appears in the Navigator view. They will have the same name as the DTD file they were generated from (if you accepted the default value in the File name field when you generated the XML schema).
Any entities that were in your DTD file will not be in the XML schema (as entities are not supported in XML schemas). However, any elements or attributes that referred to an entity will carry over that value to an XML schema.
For example, you have a DTD called "Legal" that contains an entity called "Copyright". The value of the entity is "Copyright 2004. MyCompany Publishing" . In your DTD, you have an element called "MyCopyright", which refers to the entity Copyright. After you create the XML schema, the Copyright entity will not appear in the XML schema, however, its value is carried over (that is, MyCopyright will have the value: Copyright 2004. MyCompany Publishing ).
All elements and attributes that existed in your DTD file will exist in the XML schema file.
Elements in your DTD with a content model of (#PCDATA) (and no attributes) appear empty in the XML schema editor. They are marked as having Built-in simple types of string. That is, a DTD element with a value of (#PCDATA) will map to an XML schema element with an XML schema primitive type string.