xml spy
Previous  Top  Next
Assign Schema...

ic_assign_schema

This command assigns a Schema to an XML document to enable Validation and Intelligent editing.

The command opens the Assign File dialog to let you specify the XSD, XDR, or BizTalk schema file you wish to assign, inserts the required namespace declaration attributes into your XML document:

xmlns="http://www.xmlspy.com/schemas/icon/orgchart"  
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"  
xsi:schemaLocation="http://www.xmlspy.com/schemas/icon/orgchart http://schema.xmlspy.com/schemas/icon/orgchart.xsd"  

The declarations generated by XML Spy depend on the Schema kind and - in case of the new W3C XML Schemas - also on the potential use of a targetNamespace in the Schema document.

Previous  Top  Next

© 2002 Altova