Graphical visualization in the editor has been enhanced to provide you with a type-oriented view of an XML Schema. Types are displayed as a box-like figures. If types contain elements and attributes, these are listed as fields within the box.
A view mode drop down box is visible at the top right of the XML Schema editor to enable you to switch between the Simplified and Detailed views. The Simplified view hides many of the complicated XML schema constructs, so you can create XML data structures that conform to best-practice authoring patterns. The Detailed view exposes the full set of XML schema constructs so you can create XML data structures using any authoring pattern.
Simplified view:
Refactoring support is available both within files and to any external files that reference the component that you are refactoring. This means that if you rename a complex type, any references to it from other schemas in the current project or workspace will be updated. A preview dialog lets you inspect all the refactoring changes before you make them.
XML Schema allows you to reference named definitions such as elements and types. A search view now displays the locations in your workspace where the component is referenced.
You can select a browse action to invoke the new Set Type dialog, where you can choose a type from the current schema, or any schema in your current project or workspace. Once you've chosen the type, and if it belongs to an external schema, an import will be automatically added for you. Similarly, you can browse for elements when editing element references.
The user interface has been revised to provide an editor that is more scalable and intuitive. You can define mappings graphically by using drag and drop operations to connect elements from source to target documents. Change transform behaviors such as move and substring by selecting them from a list. Modify transform details by using the Properties view.
XML mapping tool:
Each time you make a change to your mapping and perform a save, the mapping tool generates the corresponding XSLT transformation and executes the transformation against any associated XML input documents. This immediate feedback helps you define maps more efficiently and identify problems more quickly.
When you select a Submap transform, you can reuse an existing mapping definition in a map file. Now you can use the Submap to avoid remapping the same thing multiple times. Also, use it to break a large complex map into multiple smaller maps.
For parts of your mapping that require customized code, you can now select a Custom Code transform to call an XPath expression or an external XSLT template.
Using the Properties view, you can specify a transform condition by using an XPath expression. This helps you specify transforms that are only applicable under certain contextual conditions.
The mapping tool offers full support for the following features: