File: MultiComponent.xsd

package info (click to toggle)
camitk 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 389,496 kB
  • sloc: cpp: 103,476; sh: 2,448; python: 1,618; xml: 984; makefile: 128; perl: 84; sed: 20
file content (30 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            
            <xsd:include schemaLocation="StructuralComponent.xsd"/>
            
            <xsd:group name="MultiComponent">
                <xsd:sequence>
                    <xsd:element name="multiComponent" type="MultiComponent"/>
                </xsd:sequence>
            </xsd:group>
            
            <xsd:complexType name="MultiComponent">
                <xsd:annotation>
                    <xsd:documentation>
                        A multi-level component (multi-component) consist of any number of components: 
                        structural components and/or multi-components.
                        It is used to group entities and allow hierarchical representation and tree-like 
                        organization.
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:choice minOccurs="0" maxOccurs="unbounded">
                    <xsd:group ref="MultiComponent"/>
                    <xsd:group ref="StructuralComponent"/>
                </xsd:choice>
                <xsd:attribute name="name" type="xsd:string"/>
                <xsd:anyAttribute namespace="##any" processContents="lax" />
            </xsd:complexType>
            
</xsd:schema>