Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Introduction to the XSD Editor"
Line 24: | Line 24: | ||
<BR> | <BR> | ||
− | [[Image: | + | [[Image:xsdeditor-figure1.jpg">]] |
</P> | </P> | ||
Line 34: | Line 34: | ||
<BR> | <BR> | ||
− | + | [[Image:xsdeditor-figure2.jpg">]] | |
− | + | ||
</P> | </P> | ||
Line 47: | Line 46: | ||
<LI>use the properties view to change the name of the element to 'Paper' | <LI>use the properties view to change the name of the element to 'Paper' | ||
− | + | [[Image:xsdeditor-figure3.jpg">]] | |
</LI> | </LI> | ||
<LI>right click on Paper and select 'Set Type'->'New..." to create a new type for the element.<BR> | <LI>right click on Paper and select 'Set Type'->'New..." to create a new type for the element.<BR> | ||
− | + | [[Image:xsdeditor-figure4.jpg">]] | |
− | + | ||
<BR> | <BR> | ||
Line 59: | Line 57: | ||
<LI>select 'Complex Type' and check 'Create as anonymous type'. Click 'OK'.<BR> | <LI>select 'Complex Type' and check 'Create as anonymous type'. Click 'OK'.<BR> | ||
− | + | [[Image:xsdeditor-figure5.jpg">]] | |
<BR> | <BR> | ||
Line 78: | Line 76: | ||
On the Properties sheet, select the 'Inherit From:' combo and then select 'Browse...' as shown below. | On the Properties sheet, select the 'Inherit From:' combo and then select 'Browse...' as shown below. | ||
− | + | [[Image:xsdeditor-figure6.jpg">]] | |
<BR> | <BR> | ||
Line 87: | Line 85: | ||
The Set Type dialog will appear. Select 'PublicationType', and click OK.<BR> | The Set Type dialog will appear. Select 'PublicationType', and click OK.<BR> | ||
− | + | [[Image:xsdeditor-figure6.jpg">]] | |
<BR> | <BR> | ||
Line 97: | Line 95: | ||
Double click on Paper's type to edit its structure as shown below. Then right click on the '(PaperType)' and select 'Add Element'<BR> | Double click on Paper's type to edit its structure as shown below. Then right click on the '(PaperType)' and select 'Add Element'<BR> | ||
− | + | [[Image:xsdeditor-figure8.jpg">]] | |
<br> | <br> | ||
</LI> | </LI> | ||
Line 106: | Line 104: | ||
<BR> | <BR> | ||
− | + | [[Image:xsdeditor-figure9.jpg">]] | |
<BR> | <BR> | ||
Line 114: | Line 112: | ||
<BR> | <BR> | ||
− | + | [[Image:xsdeditor-figure10.jpg">]] | |
<BR> | <BR> | ||
</LI> | </LI> | ||
Line 123: | Line 121: | ||
<BR> | <BR> | ||
− | + | [[Image:xsdeditor-figure11.jpg">]] | |
<BR> | <BR> | ||
</LI> | </LI> | ||
Line 131: | Line 129: | ||
<BR> | <BR> | ||
− | + | [[Image:xsdeditor-figure12.jpg">]] | |
<BR> | <BR> | ||
</LI> | </LI> |