php    php100   android
當前位置:首頁 » Eclipse教學 »

Eclipse - 創建XML文件 評論   編輯

Opening the New XML File wizard

You can use the New XML file wizard to create an XML file. To invoke this wizard:

  • Click on the File menu and select New > Other or
  • Click on the new drop down box () select other or
  • Press ctrl + N

Once the Select a wizard dialog box comes up:

  • In the filter text box enter xml, this should show only the wizards related to xml
  • Expand XML category and select XML File
Eclipse - 創建XML文件
  • Click on Next to bring up the New XML File wizard

Note:

If the XML perspective is open the New XML wizard can be invoked by:

  • Clicking on the File menu and selecting New > XML File or
  • Clicking on the XML File button ( ) on the tool bar

Using the New XML File wizard

Once the New XML File wizard comes up:

  • Enter or select the parent folder
  • Enter the name of the xml file
Eclipse - 創建XML文件
  • Click on the Next button to base the xml file on DTD, XML Schema or XML template else click on Finish

Viewing the newly created XML File

The newly created XML file should appear in the Package Explorer view and an XML editor instance that allows you to modify the newly created XML file should appear in the editor area.

Eclipse - 創建XML文件

The XML editor allows you to edit an XML file using either the Design view or Source view.

貢獻/合作者

正在開放中...
 

評論(0條)

  • 還冇有評論!