Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3abe9331 | 3 | Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
4 | |
5 | All rights reserved. This program and the accompanying materials | |
6 | are made available under the terms of the Eclipse Public License v1.0 | |
7 | which accompanies this distribution, and is available at | |
8 | http://www.eclipse.org/legal/epl-v10.html | |
9 | --> | |
10 | <schema xmlns="http://www.w3.org/2001/XMLSchema" | |
3f84031e | 11 | xmlns:ns="www.example.org/attributegroup" |
12 | targetNamespace="www.example.org/attributegroup"> | |
970ed795 EL |
13 | |
14 | <!-- attributeGroups are here --> | |
15 | <attributeGroup name="e42"> | |
16 | <attribute name="foo" type="float"/> | |
17 | <attribute name="bar" type="float"/> | |
18 | </attributeGroup> | |
19 | ||
20 | <attributeGroup name="e43"> | |
21 | <attribute name="ding" type="string"/> | |
22 | <attributeGroup ref="ns:e42"/> | |
23 | </attributeGroup> | |
24 | ||
25 | <!-- complexTypes are here --> | |
26 | <complexType name="e43complex"> | |
27 | <sequence> | |
28 | </sequence> | |
29 | <attribute name="ding" type="string"/> | |
30 | <attributeGroup ref="ns:e42"/> | |
31 | </complexType> | |
32 | ||
33 | <complexType name="e44sequence"> | |
34 | <sequence> | |
35 | <element name="ding" type="string"/> | |
36 | </sequence> | |
3f84031e | 37 | <attributeGroup ref="ns:e43"/> |
970ed795 EL |
38 | </complexType> |
39 | ||
3f84031e | 40 | </schema> |