The <switchPort> Element

Definition and Usage

The <switchPort> element defines a mapping to a subset of the <switch> element's components. All references to an internal switch component must be made through a <switchPort> element or, by default, to the <switch> element without specifying any <switchPort>. In this last case, it is considered as if the reference is made to a default <switchPort> that contains mapping elements to each child object of the switch and referring to their whole content anchors.

Syntax

Element Attributes Content Parent
<switchPort> id <mapping>+ <switch>

Attributes

Name Value Description
id It may receive any string value that begins with a letter or an underscore and that only contains letters, digits, “.”, and “_”. The id attribute uniquely identifies the element within a document.
Back to top