xml spy
Previous  Top  Next
Adding files to a project

Creating and adding files to a Project:
There are now many different files open in the main window. You can access these files as an unit by grouping them into an XML Spy project.

tut_71a

1.Select the menu option Project | New Project.  

tut_71b  

The project window now contains several folders under the New Project folder.  
2.Click the CompanyLast.xml tab, to make it the active file in the main window.  
3.Select the menu option Project | Add active and related files to project.  

tut_71c  

Three files have been added to the New Project folder: CompanyLast.xml, Company.xsl and AddressLast.xsd.  
4.Click the Person-import.xml tab, and then select the menu option Project | Add active file to project.  
5.Use the same method to add the Company.html and DB2schema.xsd files to the project. The project should now look like the diagram below.  

tut_72a  

6.Select the menu option Project | Save Project and enter "Tutorial" as the project name.  

tut_72b  

To delete files from a project:

1.Click on the file you want to delete in the project window, and hit the Delete key.  
 
To add new folders to a project:
1.Select the menu option Project | Add folder to Project, and fill in the Properties dialog.  

To add a file to a specific folder:

1. Click the file to make it active in the main window.  
2.Right click the folder you want to place the active file into (in the Project window), and select the menu option "Add active file".  
This method allows you to add a file to any folder in the current project.  

Previous  Top  Next

© 2002 Altova