element <usage> (global)
Namespace:
Type:
Content:
complex, 3 elements
Defined:
globally in codebook.xsd; see XML source
Used:
XML Representation Summary
<usage>
   
Content: 
(selector | specificElements), attribute?
</usage>
Content model elements (3):
attribute, selector, specificElements
Included in content model of elements (1):
controlledVocabUsed
Known Usage Locations
Annotation

Usage

Description

Defines where in the instance the controlled vocabulary which is identified is utilized. A controlled vocabulary may occur either in the content of an element or in an attribute on an element. The usage can either point to a collection of elements using an XPath via the selector element or point to a more specific collection of elements via their identifier using the specificElements element. If the controlled vocabulary occurs in an attribute within the element, the attribute element identifies the specific attribute. When specific elements are specified, an authorized code value may also be provided. If the current value of the element or attribute identified is not in the controlled vocabulary or is not identical to a code value, the authorized code value identifies a valid code value corresponding to the meaning of the content in the element or attribute.
XML Source (w/o annotations (1); see within schema source)
<xs:element name="usage" type="usageType"/>
Content Element Detail (all declarations; 3/3)
attribute
Type:
attributeType, simple content
Defined:
by reference within usageType complexType
Simple Content
xs:string
Pattern:
@(([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*|\*|[\i-[:]][\c-[:]]*:\*)
XML Source (see within schema source)
<xs:element minOccurs="0" ref="attribute"/>

selector
Type:
selectorType, simple content
Defined:
by reference within usageType complexType
Simple Content
xs:string
Pattern:
((//|/)(([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*|\*|[\i-[:]][\c-[:]]*:\*))+
XML Source (see within schema source)
<xs:element ref="selector"/>

specificElements
Type:
specificElementsType, empty content
Defined:
by reference within usageType complexType
XML Source (see within schema source)
<xs:element ref="specificElements"/>

XML schema documentation generated with DocFlex/XML 1.8.7 using DocFlex/XML XSDDoc 2.7.0 template set