Double-click
the XML Parser component icon
.
The XML Parser Component Editor appears.
From the XML Parser Component Editor, select
XML String or Input XML File,
and do the following:
-
If you chose XML String, enter the string in
the text box and click Parse XML String.
-
If you chose Input XML file, click Browse
to locate the file and click Open.
The Detect Array Parameters dialog box appears
If desired, click Detect Array Parameters and
enter the delimiter to convert the values in the XML string that contain
the delimiter for array parameters. The delimiter string should not contain characters defined by escape sequences. For example - '\b', '\t','\n','\r', etc.
Click OK.
Isight
shows the parsed results in the first table.
If desired, you can search the parsed results.
-
In the Search text box, enter the text for which
you want to search.
-
Click the previous
button or the next
button.
Isight
highlights the parameter in the Name column that contains the text.
Determine the input and output parameters that you want to include in
Isight by selecting the corresponding check boxes in the Input
and Output columns.
Alternatively, you can click Select All to select
all the parameters making the parameters both input and output parameters.
Click Unselect All to remove the selection.
The input parameter receives its value from the previous component in
the simulation process flow; the output parameter sends its value to
the next component in the simulation process flow.
If desired, click in the Type column to change
the type (String, Integer,
Boolean, or Real).
To include the parameters in Isight, select the parameters and click
Add.
Isight
adds the parameters to the table in the lower section of the editor.
These parameters are now mapped to the components and will be used with
the corresponding Isight model.
You can remove a parameter by selecting it and clicking Remove.
Click OK to close the XML Parser Component
Editor and to return to the Design Gateway.