File: schema.xsd

package info (click to toggle)
python-xmlschema 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,208 kB
  • sloc: python: 39,174; xml: 1,282; makefile: 36
file content (18 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:element name="dummy">
      <xs:complexType>
         <xs:attributeGroup ref="ag1"/>
         <xs:attributeGroup ref="ag2"/>
      </xs:complexType>
   </xs:element>

   <xs:attributeGroup name="ag1">
      <xs:attribute name="a1" type="xs:string"/>
      <xs:attributeGroup ref="ag2"/>
   </xs:attributeGroup>

   <xs:attributeGroup name="ag2">
      <xs:attribute name="a2" type="xs:string"/>
   </xs:attributeGroup>

</xs:schema>