Eclipse Create Xml File
# Eclipse Create XML File
* * *
## Open the New XML File Wizard
You can use the New XML File wizard to create an XML file. Ways to open the wizard include:
* Click the File menu and select New > Other
* Click the New dropdown (!(#)) and select Other
* Keyboard shortcut: ctrl + N
In the wizard dialog, you can perform the following actions:
* Type "XML" in the input box, and wizards related to XML will be displayed
* Select XML File from the expanded XML category
!(#)
* Click the Next button to proceed to the New XML File wizard
### Note:
In the subsequent wizard, we can also perform the following actions:
* Click the File menu and select New > XML File
* Click the XML File button on the toolbar (!(#))
## Using the New XML File Wizard
In the New XML File wizard, we can perform the following operations:
* Enter or select the folder where the XML file will be located
* Enter the XML file name
!(#)
* Click the Next button to configure the XML schema description language (DTD, XML Schema), or you can directly click the Finish button to complete the creation of the XML file.
## Viewing the New XML File
In the Package Explorer view, we can see the newly created XML file. In the XML editor on the right, we can modify the new XML file.
!(#)
The XML editor can use either Design view or Source view to design the XML file.
YouTip