xml spy
Previous  Top  Next

Defining / Adding global resources


Defining / Adding a global resource file

1.Click the Global Resource icon ic-globrec to open the dialog box.

 

       glob-def3

 

This is the state of an empty global resources file.

2.Click the Add button and select File from the popup.
3.Enter the name of the Resource alias e.g. MultiInput.
4.Click the Open folder icon and select the XML file that is to act as the "Default" input file e.g. mf-ExpReport.xml.

 

       glob-def5

 

5.Click the Add button glob-addic of the Configurations group, to add a new configuration to the current Alias. Note that the Copy configuration icon glob-copyic, allows you to copy a selected configuration and save it under a new name.

 

       glob-def6

 

6.Enter a name for the configuration, Multi2nd, and click OK to confirm.

Multi2nd has now been added to the Configurations list.

7.Click the Open folder icon again and select the XML file that is to act as the input file for the multi2nd configuration e.g. mf-ExpReport2.xml.

 

       glob-def7

 

8.Click OK to complete the definition of the resource.

The MultiInput alias has now been added to the Files section of the global resources.

Placing the mouse cursor over an alias entry, opens a tooltip showing its defintion.

 

       glob-def9

 

9.Click OK to confirm.

This concludes the definition part of defining global resources. The next step is Assigning a global resource to a component.

 


Previous  Top  Next

© 2008 Altova