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条)

  • 还没有评论!