Schema Central > Genericode 1.0 > ContextValueAssociation.xsd > cva:ContextValueAssociation
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

cva:ContextValueAssociation

The entire set is an expression of context/value constraints

Rule: A context/value association file must not violate the W3C Schema XSD constraints expressed in the ContextValueAssociation.xsd associated with this version of the XML vocabulary.

Rule: An application must report violations of document-level constraints.

Element information

Content

Attributes

NameOccTypeDescriptionNotes
id [0..1]xsd:string
name [1..1]cva:NameToken
version [0..1]xsd:string
queryBinding [0..1]cva:NameToken
xml:base [0..1]xsd:anyURI

Sample instance

<cva:ContextValueAssociation name="NMTOKEN">
   <Annotation>
      <Description>Any text, intermingled with:
         <!--any element-->
      </Description>
      <AppInfo>Any text, intermingled with:
         <!--any element-->
      </AppInfo>
   </Annotation>
   <Title>Any text, intermingled with:
      <!--any element-->
   </Title>
   <Include uri="http://www.example.com/">
      <Annotation>
         <Description>Any text, intermingled with:
            <!--any element-->
         </Description>
         <AppInfo>Any text, intermingled with:
            <!--any element-->
         </AppInfo>
      </Annotation>
   </Include>
   <ValueTests>
      <Annotation>
         <Description>Any text, intermingled with:
            <!--any element-->
         </Description>
         <AppInfo>Any text, intermingled with:
            <!--any element-->
         </AppInfo>
      </Annotation>
      <ValueTest xml:id="ID" test="string">
         <Annotation>...
         </Annotation>
      </ValueTest>
   </ValueTests>
   <ValueLists>
      <Annotation>
         <Description>Any text, intermingled with:
            <!--any element-->
         </Description>
         <AppInfo>Any text, intermingled with:
            <!--any element-->
         </AppInfo>
      </Annotation>
      <ValueList xml:id="ID" uri="http://www.example.com/">
         <Annotation>...
         </Annotation>
         <Identification>...
         </Identification>
      </ValueList>
   </ValueLists>
   <InstanceMetadataSets>
      <Annotation>
         <Description>Any text, intermingled with:
            <!--any element-->
         </Description>
         <AppInfo>Any text, intermingled with:
            <!--any element-->
         </AppInfo>
      </Annotation>
      <InstanceMetadataSet xml:id="ID">
         <Annotation>...
         </Annotation>
         <InstanceMetadata address="string" identification="string">...
         </InstanceMetadata>
      </InstanceMetadataSet>
   </InstanceMetadataSets>
   <Contexts>
      <Annotation>
         <Description>Any text, intermingled with:
            <!--any element-->
         </Description>
         <AppInfo>Any text, intermingled with:
            <!--any element-->
         </AppInfo>
      </Annotation>
      <Context address="string" values="IDREFS">
         <Annotation>...
         </Annotation>
         <Message>Any text, intermingled with:
            <!--any element-->
         </Message>
      </Context>
   </Contexts>
</cva:ContextValueAssociation>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to pwalmsley@datypic.com