XSLT stylesheet files can import or include other XSLT files or XML schemas. In addition, one or several inline schemas may be present in an XSLT file. SchemaAgent illustrates these relationships with different colors.
The connector lines lead from the title bar of an XML schema or XSLT stylesheet box to the title bar of an XSLT box when the XSLT box is collapsed, or to the imports, includes, or import schemas sections, respectively, within an XSLT box when the XSLT box is expanded. The default color for imports is dark green, for includes it is light green, and for schema relations it is light blue.
Changing the order
Since in XSL Transformations it is of importance in which sequence the imported or included stylesheets are applied, these files are not sorted alphabetically in the file boxes, but in the order of their insertion. You can, however, later on change this order using the sorting options in the context menu of the XSLT file box.
To change the order of imported or included XSLT files:
1.Expand the imports or includes section to view the related XSLT files.
2.Right-click the file whose position you want to change and choose one of the following options from the context menu:
3.Optionally, repeat step 2 until the file shows up at the desired position.
Inline schemas are displayed when you expand the inline schemas section in an XSLT box. You can also show a file box for the inline schema. The file box for the inline schema has a dashed border, apart from that, you can proceed as with any other XML schema box.
To display a schema box for an inline schema:
1.Expand an XSLT box until the inline schemas are listed under the inline schemas section.
2.Right-click an inline schema and deactivate the Show inline option in the context menu or click the icon to the left of the schema name. Alternatively, you can also double-click the inline schema entry in the inline schemas section. The inline schema is displayed in a separate schema box which is connected to the inline schemas section of the XSLT file box.
To hide a schema box for an inline schema:
•Right-click an inline schema that has a schema box displayed in the WSDL box and activate the Show inline option in the context menu. Alternatively, click the icon to the left of the schema name, or double-click the inline schema entry in the inline schemas section.