File: opc-relationships.xsd

package info (click to toggle)
libapache-poi-java 4.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 198,960 kB
  • sloc: java: 386,440; xml: 65,903; makefile: 227; sh: 215; jsp: 85; ruby: 78; python: 46; cpp: 17
file content (30 lines) | stat: -rw-r--r-- 1,377 bytes parent folder | download | duplicates (3)
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" standalone="no"?>
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.openxmlformats.org/package/2006/relationships" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">

  <xsd:element name="Relationships" type="CT_Relationships" />
  <xsd:element name="Relationship" type="CT_Relationship" />

  <xsd:complexType name="CT_Relationships">
    <xsd:sequence>
      <xsd:element ref="Relationship" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
  </xsd:complexType>

  <xsd:complexType name="CT_Relationship">
    <xsd:simpleContent>
      <xsd:extension base="xsd:string">
        <xsd:attribute name="TargetMode" type="ST_TargetMode" use="optional" />
        <xsd:attribute name="Target" type="xsd:anyURI" use="required" />
        <xsd:attribute name="Type" type="xsd:anyURI" use="required" />
        <xsd:attribute name="Id" type="xsd:ID" use="required" />
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

  <xsd:simpleType name="ST_TargetMode">
    <xsd:restriction base="xsd:string">
      <xsd:enumeration value="External" />
      <xsd:enumeration value="Internal" />
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>