xml spy
Previous  Top  Next
Creating an XML document

Goal of this section:
To create a new XML document and use the various XML Spy views and intelligent editing capabilities, to rapidly enter and validate data.

This will be achieved by:
·Creating a new XML document based on the AddressLast schema  
·Making elementType definitions available to an XML document  
·Adding elements using intelligent entry helpers in the Text and Enhanced Grid view  
·Copying XML data to Excel, adding new data there, and pasting it back to XML Spy (Enhanced Grid-, and Database/Table view)  
·Sorting table data by Last name in the Database/Table view  
·Validating the XML document  
·Updating the schema definition to allow for three digit phone extensions  
 
 
Functions (and their icons) in this section:
 
ic_new File | New, creates a new type of XML file.  
 
ic_txt_view View | Text View, switches to the text view.  
 
ic_enh_grid View | Enhanced Grid view, switches to the Enhanced Grid view.  
 
ic_disp_as_tblXML | Table | Display as Table, displays recurring elements and attributes in table form. Hotkey: F9 switches between the Table and Enhanced Grid view.  
 
ic_expand_elem expand, displays sub elements, in the Enhanced Grid view.  
 
ic_well_formedChecks for well-formedness. Hotkey: F7.  
 
ic_validateValidate the XML file against the associated DTD or Schema. Hotkey F8.  
 
ic_goto_defOpens the associated DTD or Schema file.  

Previous  Top  Next

© 2002 Altova