Eclipse Create XML file Open the New XML File wizard
You can use the new XML File wizard to create an XML file. The way to open the wizard is:
- Click the File menu and choose New > Other
- Click the New drop-down box () to select other
- Shortcut key combinations: Ctrl + N
In the wizard dialog box, you can do the following:
- Enter XML in the input box to display the wizard that associates the XML
- Select an XML file in the expanded XML category
- Click the Next button to enter the new XML file wizard
Attention:
Next in the wizard we can also do the following:
- Click the File menu and select New > XML file
- On the toolbar, click the XML File button ()
Using the New XML File wizard
In the New XML File Wizard We can do the following:
- Enter or select the folder to which the XML file belongs
- Enter an XML file name
- Click the Next button to configure the DTD, XML Schema XML Schema description language, or you can directly click the Finish button to complete the creation of the XML file.
View the new XML file
In the package Explorer view we can see the new XML file, and in the XML editor on the right we can modify the new XML file.
The XML editor can use either view mode or source mode to design an XML file.
Eclipse Create XML file