Last change
on this file since 2007 was
1931,
checked in by oschonef, 12 years ago
|
- dedicated schema for KWIC results in FCS with a proper namespace
|
-
Property svn:eol-style set to
native
-
Property svn:mime-type set to
text/xml
|
File size:
1.2 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:kwic="http://clarin.eu/fcs/1.0/kwic" |
---|
3 | targetNamespace="http://clarin.eu/fcs/1.0/kwic" elementFormDefault="qualified"> |
---|
4 | |
---|
5 | <xs:element name="kwic" type="kwic:KwicType"/> |
---|
6 | |
---|
7 | <xs:complexType name="KwicType"> |
---|
8 | <xs:sequence> |
---|
9 | <xs:element name="c" type="kwic:ContextType" minOccurs="0"/> |
---|
10 | <xs:element name="kw" type="kwic:KeywordType"/> |
---|
11 | <xs:element name="c" type="kwic:ContextType" minOccurs="0"/> |
---|
12 | </xs:sequence> |
---|
13 | </xs:complexType> |
---|
14 | |
---|
15 | <xs:complexType name="ContextType"> |
---|
16 | <xs:simpleContent> |
---|
17 | <xs:extension base="xs:string"> |
---|
18 | <xs:attribute name="type" type="kwic:ContextTypeType"/> |
---|
19 | </xs:extension> |
---|
20 | </xs:simpleContent> |
---|
21 | </xs:complexType> |
---|
22 | |
---|
23 | <xs:complexType name="KeywordType"> |
---|
24 | <xs:simpleContent> |
---|
25 | <xs:extension base="xs:string"/> |
---|
26 | </xs:simpleContent> |
---|
27 | </xs:complexType> |
---|
28 | |
---|
29 | <xs:simpleType name="ContextTypeType"> |
---|
30 | <xs:restriction base="xs:string"> |
---|
31 | <xs:enumeration value="left"/> |
---|
32 | <xs:enumeration value="right"/> |
---|
33 | </xs:restriction> |
---|
34 | </xs:simpleType> |
---|
35 | </xs:schema> |
---|
Note: See
TracBrowser
for help on using the repository browser.