xml spy
Previous  Top  Next

New


Placing the cursor over the New command pops out a submenu (screenshot below) that enables you to create a new SPS document of one of four types:

 

MnuFileNewSubmenu

 

A new SPS based on an XML Schema or DTD (New from XML Schema / DTD). The selected schema is added to the Design Overview sidebar and a graphical tree representation is added to the schema tree (in the Schema Tree sidebar). In Design View, the SPS is created with an empty main template. A new SPS can also be created from a file (schema or XML) via a global resource with New from Global Resource File.
A new SPS based on an XML Schema generated from a DB you select (New from DB or New from XML Column in IBM DB2). The connection process is described in the section Connecting to a DB and Setting up the SPS. The SPS is created in Design View with an empty main template.
A new SPS based on a user-defined schema you create node-by-node from an HTML file (New from HTML File). The user-defined schema is added to the Design Overview sidebar and Schema Tree sidebar. In the schema tree, it will have a single document element (root element), and the HTML file is loaded in Design View.
A new empty SPS (New (empty)). No schema is added to either the Design Overview sidebar or the schema tree. An empty main template will be created in Design View.

 

Note:A global resource can be used to locate a file or DB resource.

 

 


See also:

 

 


 

 


Previous  Top  Next

© 2008 Altova