< Previous | Contents | Next >

4.2.5.4.1. <orComposite> Element

The <orComposite> element represents a single requirement. Multiple <orComposite>

elements are connected with a logical connecter of “or”. XML Namespace: http://ltsc.ieee.org/xsd/LOM XML Binding Representation: <orComposite>

Multiplicity Requirements: The <orComposite> element shall appear 0 or More times. The <orComposite> element has an SPM of 40.

Data Type: The <orComposite> element is a parent element. Parent elements have no values associated with them. Parent elements act as “containers” for other elements. The

<orComposite> element contains the following child elements:

<type>

<name>

<minimumVersion>

<maximumVersion>

Example: The following metadata indicates that the component being described will execute in either of the following Web browsers:

Microsoft Internet Explorer

o Minimum Version: 5.0

o Maximum Version 6.0

or

Netscape Communicator

o Minimum Version: 4.7.9

o Maximum Version 5.0


<lom>

<technical>

<requirement>

<orComposite>

<type>

<source>LOMv1.0</source>

<value>browser</value>

</type>

<name>

<source>LOMv1.0</source>

<value>ms-internet explorer</value>

</name>

<minimumVersion>5.0</minimumVersion>

<maximumVersion>6.0</maximumVersion>

</orComposite>

<orComposite>

<type>

<source>LOMv1.0</source>

<value>browser</value>

</type>

<name>

<source>LOMv1.0</source>

<value>netscape communicator</value>

</name>

<minimumVersion>4.7.9</minimumVersion>

<maximumVersion>5.0</maximumVersion>

</orComposite>

</requirement>

</technical>

</lom>

Code Illustration 4-35: <orComposite> Element