H Working with Large Schemas in the XSLT Editor

The XSLT Editor displays source and target trees that provide an XML representation of the input and output documents for the XSLT map that is being edited. The editor creates these trees from the XSD schema documents after you select a root element definition.

These schema trees can become large and difficult to work with in a graphical mapping tool, such as the XSLT Editor. Some schema documents define hundreds of child nodes for each parent node. Expanding a few parent nodes like this, in the tree, can generate thousands of tree nodes to scroll through when trying to create an XSLT Map.

If the mapping is sparse, i.e. there are only a few mapped target nodes even though the schema is very large, the user needs to constantly scroll through nodes that do not need to be mapped. On the other hand, if the mapping is not sparse, and many mappings exist, the user faces a lot of crisscrossing lines that make it difficult to make sense out of the mappings.

This appendix discusses strategies for both sparse and non-sparse maps, as well as ways to reduce clutter.