Resource

The <resource> tag specifies a resource in detail.

Syntax: Resource

Read syntax diagramSkip visual syntax diagram
>>-<resource>--<reslabel>--token--</reslabel>------------------->

>--+----------------------------+------------------------------->
   '-<resulq>--token--</resulq>-'   

>--+------------------------------+----------------------------->
   '-<resname>--token--</resname>-'   

>--<restype>--token--</restype>--------------------------------->

>--+--------------------------------------+--------------------->
   '-<reslabelurl>--token--</reslabelurl>-'   

>--+--------------------------------------+--------------------->
   '-<expandable>--NMTOKEN--</expandable>-'   

>--+------------------------+----------------------------------->
   '-<icon>--token--</icon>-'   

>--+--------------------------------------+--------------------->
   '-<attributes>--NMTOKEN--</attributes>-'   

>--+------------------------------+--</resource>---------------><
   '-<helpurl>--token--</helpurl>-'                

Tag/Fragment Description Type
reslabel description of resource token
resulq upper level qualifier of the resource token
resname resource name token
restype resource type token
reslabelurl resource label for use in an URL without blanks token
expandable denotes whether resource itself contains other resources; value in {YES, NO} NMTOKEN
icon name of icon image for this resource token
attributes denotes whether attributes may be queried for this resource; value in {YES, NO} NMTOKEN
helpurl URL of help description token

Example XML code:

<resource>
<reslabel>,CF01,COUPLING_FACILITY</reslabel>
<resname>CF01</resname>
<restype>COUPLING_FACILITY</restype>
<reslabelurl>,CF01,COUPLING_FACILITY</reslabelurl>
<expandable>YES</expandable>
<icon>rmfcf.gif</icon>
<attributes>YES</attributes>
</resource>