Navigation
Tree Definition File
The content of rtvAccordionPanel or rtvTreePanel
is determined by an XML file specified as the value for the navdata
attribute.
NOTE: rtvAccordionPanel only supports two levels
of nodes, not counting the root node. Therefore, in the following example, the
node labeled Displays would not be visible.
The navdata file must start with the
following:
<?xml
version="1.0" ?>
The navdata file must end with the
following:
</navtree>
For example:
<?xml version="1.0" ?>
<navtree version="1.0">
<node label="Displays">
<node label="Charts" display="chart_overview.rtv">
<node label="Chart One"
display="chart1.rtv" subs="$sub1:123"/>
<node label="Chart Two"
display="chart2.rtv"/>
</node>
<node label="Reports" display="report_overview.rtv">
<node label="Report 1"
display="rep1.rtv"/>
<node label="Report 2"
display="rep2.rtv"/>
</node>
</node>
</navtree> The following tags are supported:
Tag |
Description |
Attributes
|
Name
|
Description
|
node |
Add
a node to the navigation tree. |
display |
Name of the display (.rtv)
file. |
label |
Label for this node in the
navigation tree. |
subs |
Substitutions to apply to
the display. Substitutions are optional and must use the following syntax:
$subname:subvalue $subname2:subvalue2
If a substitution value contains
a single quote, it must be escaped using a / :
$filter:Plant=/'Dallas/'
If a substitution value contains
a space, it must be enclosed in single quotes. Do not escape these single
quotes:
$subname:subvalue $subname2:'sub
value 2'
A substitution string cannot contain
the following:
:
|
|
|
.
|
tab
|
space
|
,
|
;
|
=
|
<
|
>
|
'
|
"
|
& |
/ |
\ |
{ |
} |
[ |
] |
( |
) |
|
|