Changeset 4677 for FederatedSearch/examples
- Timestamp:
- 03/12/14 17:08:50 (10 years ago)
- Location:
- FederatedSearch/examples
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
FederatedSearch/examples/Endpoint-Description-Complex.xml
r4503 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <EndpointDescription xmlns="http://clarin.eu/fcs/ 1.0/endpoint-description"2 <EndpointDescription xmlns="http://clarin.eu/fcs/endpoint-description" 3 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://clarin.eu/fcs/1.0/endpoint-description ../schema/Endpoint-Description.xsd"> 5 <Profile>basic</Profile> 4 xsi:schemaLocation="http://clarin.eu/fcs/endpoint-description ../schema/Endpoint-Description.xsd" 5 version="1"> 6 <Capabilities> 7 <Capability>http://clarin.eu/fcs/capability/basic-search</Capability> 8 </Capabilities> 6 9 <SupportedDataViews> 7 <SupportedDataView >application/x-clarin-fcs-hits+xml</SupportedDataView>8 <SupportedDataView >application/x-cmdi+xml</SupportedDataView>10 <SupportedDataView id="dv1">application/x-clarin-fcs-hits+xml</SupportedDataView> 11 <SupportedDataView id="dv2">application/x-cmdi+xml</SupportedDataView> 9 12 </SupportedDataViews> 10 < Collections>11 < Collectionpid="hdl:10932/goethe">13 <Resources> 14 <Resource pid="hdl:10932/goethe"> 12 15 <Title xml:lang="de">Goethe Corpus</Title> 13 16 <Title xml:lang="en">Goethe Korpus</Title> … … 18 21 <Language>deu</Language> 19 22 </Languages> 20 </ Collection>21 < Collectionpid="hdl:10932/mannheimer_morgen">23 </Resource> 24 <Resource pid="hdl:10932/mannheimer_morgen"> 22 25 <Title xml:lang="de">Mannheimer Morgen newspaper Corpus</Title> 23 26 <Title xml:lang="en">Zeitungskorpus des Mannheimer Morgen</Title> … … 26 29 <Language>deu</Language> 27 30 </Languages> 28 < Collections>29 < Collectionpid="hdl:10932/mannheimer_morgen_before_1990">31 <Resources> 32 <Resource pid="hdl:10932/mannheimer_morgen_before_1990"> 30 33 <Title xml:lang="de">Mannheimer Morgen newspaper Corpus (before 1990)</Title> 31 34 <Title xml:lang="en">Zeitungskorpus des Mannheimer Morgen (vor 1990)</Title> … … 34 37 <Language>deu</Language> 35 38 </Languages> 36 </ Collection>37 < Collectionpid="hdl:10932/mannheimer_morgen_after_1990">39 </Resource> 40 <Resource pid="hdl:10932/mannheimer_morgen_after_1990"> 38 41 <Title xml:lang="de">Mannheimer Morgen newspaper Corpus (after 1990)</Title> 39 42 <Title xml:lang="en">Zeitungskorpus des Mannheimer Morgen (nach 1990)</Title> … … 42 45 <Language>deu</Language> 43 46 </Languages> 44 </ Collection>45 </ Collections>46 </ Collection>47 </ Collections>47 </Resource> 48 </Resources> 49 </Resource> 50 </Resources> 48 51 </EndpointDescription> -
FederatedSearch/examples/Endpoint-Description-Simple.xml
r4395 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <EndpointDescription xmlns="http://clarin.eu/fcs/ 1.0/endpoint-description"2 <EndpointDescription xmlns="http://clarin.eu/fcs/endpoint-description" 3 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://clarin.eu/fcs/1.0/endpoint-description ../schema/Endpoint-Description.xsd"> 5 <Profile>basic</Profile> 4 xsi:schemaLocation="http://clarin.eu/fcs/endpoint-description ../schema/Endpoint-Description.xsd" 5 version="1"> 6 <Capabilities> 7 <Capability>http://clarin.eu/fcs/capability/basic-search</Capability> 8 <Capability>http://clarin.eu/fcs/capability/a-b</Capability> 9 </Capabilities> 6 10 <SupportedDataViews> 7 <SupportedDataView >application/x-clarin-fcs-hits+xml</SupportedDataView>11 <SupportedDataView id="dv1">application/x-clarin-fcs-hits+xml</SupportedDataView> 8 12 </SupportedDataViews> 9 < Collections>10 < Collectionpid="hdl:10932/goethe">13 <Resources> 14 <Resource pid="hdl:10932/goethe"> 11 15 <Title xml:lang="de">Goethe Corpus</Title> 12 16 <Title xml:lang="en">Goethe Korpus</Title> … … 17 21 <Language>deu</Language> 18 22 </Languages> 19 </ Collection>20 </ Collections>23 </Resource> 24 </Resources> 21 25 </EndpointDescription> -
FederatedSearch/examples/Example-Resource-with-Custom-Extension.xml
r4496 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://clarin.eu/fcs/ 1.0../schema/Resource.xsd4 http://clarin.eu/fcs/ 1.0/hits ../schema/DataView-HITS.xsd"5 xmlns="http://clarin.eu/fcs/ 1.0"3 xsi:schemaLocation="http://clarin.eu/fcs/resource ../schema/Resource.xsd 4 http://clarin.eu/fcs/dataview/hits ../schema/DataView-Hits.xsd" 5 xmlns="http://clarin.eu/fcs/resource" 6 6 pid="hdl:4711/00-0000-0000-0000-0000-0"> 7 7 <DataView type="application/x-clarin-fcs-hits+xml" … … 11 11 Indention and formatting should be avoided. 12 12 --> 13 <hits:Result xmlns:hits="http://clarin.eu/fcs/ 1.0/hits">13 <hits:Result xmlns:hits="http://clarin.eu/fcs/dataview/hits"> 14 14 Und so will ich denn hier auch noch anfÃŒhren, daà ich in diesem 15 15 Elend das neckische GelÃŒbde getan: man solle, wenn ich uns -
FederatedSearch/examples/Example-Resource.xml
r4496 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://clarin.eu/fcs/ 1.0../schema/Resource.xsd4 http://clarin.eu/fcs/ 1.0/hits ../schema/DataView-HITS.xsd"5 xmlns="http://clarin.eu/fcs/ 1.0"3 xsi:schemaLocation="http://clarin.eu/fcs/resource ../schema/Resource.xsd 4 http://clarin.eu/fcs/dataview/hits ../schema/DataView-Hits.xsd" 5 xmlns="http://clarin.eu/fcs/resource" 6 6 pid="hdl:4711/00-0000-0000-0000-0000-0"> 7 7 <DataView type="application/x-clarin-fcs-hits+xml" … … 11 11 Indention and formatting should be avoided. 12 12 --> 13 <hits:Result xmlns:hits="http://clarin.eu/fcs/ 1.0/hits">13 <hits:Result xmlns:hits="http://clarin.eu/fcs/dataview/hits"> 14 14 Und so will ich denn hier auch noch anfÃŒhren, daà ich in diesem 15 15 Elend das neckische GelÃŒbde getan: man solle, wenn ich uns -
FederatedSearch/examples/Resource-Hit-Multi-Hit.xml
r4395 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <Result xmlns="http://clarin.eu/fcs/ 1.0/hits"2 <Result xmlns="http://clarin.eu/fcs/dataview/hits" 3 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://clarin.eu/fcs/ 1.0/hits ../schema/Resource-Hits.xsd">4 xsi:schemaLocation="http://clarin.eu/fcs/dataview/hits ../schema/DataView-Hits.xsd"> 5 5 The quick brown <Hit>fox</Hit> jumps over the lazy <Hit>dog</Hit>. 6 6 </Result> -
FederatedSearch/examples/Resource-Hit-Single.xml
r4395 r4677 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <Result xmlns="http://clarin.eu/fcs/ 1.0/hits"2 <Result xmlns="http://clarin.eu/fcs/dataview/hits" 3 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://clarin.eu/fcs/ 1.0/hits ../schema/Resource-Hits.xsd">4 xsi:schemaLocation="http://clarin.eu/fcs/dataview/hits ../schema/DataView-Hits.xsd"> 5 5 The quick brown <Hit>fox</Hit> jumps over the lazy dog. 6 6 </Result>
Note: See TracChangeset
for help on using the changeset viewer.