Matching a Border by Rules

Syntax:

<border type="border-type" rule="value" variable="xpath" label="label"/>
<border rule="value" label="label" variable="xpath" viewBox="coords"> … SVG …</border>

Example: <border rule="@contract='Symbian_Affiliate'" type="box-clipRB" label="Symbian Affiliate"/>

Use: Defines a shape to use when the component matches specified criteria.

A border is used for a component if the rule attribute evaluates to true for the XPath location specified in the parent border’s use attribute. For more information, see Option Rules and Variables in Option Rules.