/[webpac]/trunk2/import_xml/isis_hidra_ths.xml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk2/import_xml/isis_hidra_ths.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 207 - (hide annotations)
Sat Jan 31 21:03:06 2004 UTC (16 years, 11 months ago) by dpavlin
Original Path: trunk/import_xml/isis_hidra_ths.xml
File MIME type: text/xml
File size: 7330 byte(s)
thesaurus is finally working... It contains recursive entries to parnet
term, and we actually needed to display narrower terms, so mem_lookup was
created. Important changes:
- you can write eval{"901a" eq "Mikrotezaurus"} within <isis>
  tag and if expression evaluates to false, no content will be outputed
  (It's used to hide microtesarus terms from lover level descriptors)
- mem_lookup.pm now supports formats: you can write something like
  [a:5614];;[d:[a:5614]] and it will correctly embed values

1 dpavlin 165 <?xml version="1.0" encoding="ISO-8859-2"?>
2     <!--
3     isis_codepage is code page which isis uses
4     index_codepage is code page which will be stored in index
5    
6     format of this file is described in: doc/formating_xml.txt
7     -->
8     <config
9     isis_codepage="852"
10     >
11    
12     <!--
13     <isis type="swish|display|index">_pre_000x_sep_000x_sep_000x_post_</isis>
14     <config type="swish|display">name of var from config file</config>
15     -->
16    
17     <format name="IDths"><![CDATA[
18     <a href="?rm=results&show_full=1&f=IDths&v=%s">%s</a>
19     ]]></format>
20    
21     <indexer>
22     <headline>
23     <isis type="display">250a / [5624] 562a</isis>
24     <!--
25     <config delimiter=" - ">materialtype</config>
26     <config delimiter=" u knji¾nici: ">library</config>
27     -->
28     </headline>
29    
30     <AllThes>
31 dpavlin 204 <isis type="swish">250 258 253 254 450 458 338 330 453 454 550</isis>
32     <isis type="index">250a</isis>
33     <isis type="index">258a</isis>
34     <isis type="index">253a</isis>
35     <isis type="index">254a</isis>
36     <isis type="index">450a</isis>
37     <isis type="index">458a</isis>
38     <isis type="index">338a</isis>
39     <isis type="index">330a</isis>
40     <isis type="index">453a</isis>
41     <isis type="index">454a</isis>
42     <isis type="index">550a</isis>
43 dpavlin 165 </AllThes>
44 dpavlin 204
45     <Source name="Izvor:" order="5">
46     <isis type="display">800</isis>
47     </Source>
48 dpavlin 165
49 dpavlin 204 <DescriptorHR name="HRVATSKI" order="10">
50     <isis type="swish">250a 450a 330a</isis>
51     <isis type="index">250a</isis>
52     <isis type="index">450a</isis>
53     <isis type="index">330a</isis>
54     <isis type="display">250a</isis>
55     </DescriptorHR>
56    
57     <NonDescriptorHR name="Nedeskriptori:" order="20">
58     <isis type="display">450a</isis>
59     </NonDescriptorHR>
60 dpavlin 165
61 dpavlin 204 <ScopeNoteHR name="Opis:" order="30">
62     <isis type="display">330a</isis>
63     </ScopeNoteHR>
64 dpavlin 165
65    
66 dpavlin 204 <SubjectAreaHR name="Podruèje:" order="50">
67     <isis type="swish">561 562</isis>
68     <isis type="index">[251]</isis>
69     <isis type="index" append="1">561a. 562a</isis>
70     <isis type="display">[5614]</isis>
71     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5611;;561a</isis>
72     </SubjectAreaHR>
73 dpavlin 165
74 dpavlin 204 <MicrothesaurusHR name="Mikrotezaurus:" order="60">
75     <isis type="display">[5624]</isis>
76     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5621;;562a</isis>
77     </MicrothesaurusHR>
78 dpavlin 165
79 dpavlin 204 <ClassCode name="Klasifikacijski kod:" order="70">
80     <isis>251</isis>
81     </ClassCode>
82    
83     <URL name="URL:" order="80">
84     <isis type="display">856u</isis>
85     </URL>
86    
87     <BroaderTerm name="©iri naziv:" order="90">
88 dpavlin 165 <isis type="display" format_name="IDths" format_delimiter=";;">5561;;556a</isis>
89     <isis type="display" format_name="IDths" format_delimiter=";;">4611;;461a</isis>
90     </BroaderTerm>
91    
92 dpavlin 207 <NarrowerTerm name="U¾i naziv:" order="100">
93 dpavlin 204 <isis type="display" format_name="IDths" format_delimiter=";;">5531;;553a</isis>
94 dpavlin 207 <!--
95     <isis type="display" format_name="IDths" format_delimiter=";;" filter="mem_lookup" delimiter=" * ">[a:5614];;[d:[a:5614]]</isis>
96     -->
97     <isis type="display" format_name="IDths" format_delimiter=";;" filter="mem_lookup" delimiter=" * ">eval{"901a" eq "Podruèje"}[a:251];;[d:[a:251]]</isis>
98     <isis type="display" format_name="IDths" format_delimiter=";;" filter="mem_lookup" delimiter=" * ">eval{"901a" eq "Mikrotezaurus"}[a:5614:251];;[d:[a:5614:251]]</isis>
99     <isis type="display" format_name="IDths" format_delimiter=";;" filter="mem_lookup" delimiter=" * ">eval{"901a" eq "Deskriptor"}[a:5614:5624:900];;[d:[a:5614:5624:900]]</isis>
100 dpavlin 204
101 dpavlin 207
102     </NarrowerTerm>
103    
104 dpavlin 204 <RelatedTerm name="Srodan naziv:" order="110">
105 dpavlin 165 <isis type="display" delimiter=", " format_name="IDths" format_delimiter=";;">5501;;550a</isis>
106     </RelatedTerm>
107    
108 dpavlin 204 <SeeNext name="Slijedi:" order="120">
109 dpavlin 165 <isis type="display" delimiter=", " format_name="IDths" format_delimiter=";;">4401;;440a</isis>
110     </SeeNext>
111    
112 dpavlin 204 <SeeBefore name="Prethodi:" order="130">
113 dpavlin 165 <isis type="display" delimiter=", " format_name="IDths" format_delimiter=";;">4301;;430a</isis>
114     </SeeBefore>
115    
116 dpavlin 204
117     <DescriptorEN name="ENGLESKI" order="140">
118     <isis type="swish">258a 458a 338a</isis>
119     <isis type="index">258a</isis>
120     <isis type="index">458a</isis>
121     <isis type="index">338a</isis>
122     <isis type="display">258a</isis>
123     </DescriptorEN>
124    
125     <ScopeNoteEN name="Biljeska" order="150">
126     <isis type="display">338a</isis>
127     </ScopeNoteEN>
128    
129     <NonDescriptorEN name="Nedeskriptori:" order="160">
130     <isis type="display">458a</isis>
131     </NonDescriptorEN>
132    
133    
134     <SubjectAreaEN name="Podruèje:" order="170">
135     <isis type="swish">571 572</isis>
136     <isis type="index">[251]</isis>
137     <isis type="index" append="1"> 571a. 572a</isis>
138     <isis type="display">[5714]</isis>
139     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5711;;571a</isis>
140     </SubjectAreaEN>
141    
142     <MicrothesaurusEN name="Mikrotezaurus:" order="180">
143     <isis type="display">[5724]</isis>
144     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5721;;572a</isis>
145     </MicrothesaurusEN>
146    
147     <DescriptorFR name="FRANCUSKI" order="190">
148     <isis type="swish">253 453</isis>
149     <isis type="index">253a</isis>
150     <isis type="index">453a</isis>
151     <isis type="display">253a</isis>
152     </DescriptorFR>
153    
154     <NonDescriptorFR name="Nedeskriptori:" order="200">
155     <isis type="display">453a</isis>
156     </NonDescriptorFR>
157    
158     <SubjectAreaFR name="Podruèje:" order="210">
159     <isis type="swish">573 574</isis>
160     <isis type="index">[251] </isis>
161     <isis type="index" append="1">573a. 574a</isis>
162     <isis type="display">[5734]</isis>
163     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5731;;573a</isis>
164     </SubjectAreaFR>
165    
166     <MicrothesaurusFR name="Mikrotezaurus:" order="220">
167     <isis type="display">[5744]</isis>
168     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5741;;574a</isis>
169     </MicrothesaurusFR>
170    
171     <DescriptorGE name="NJEMAÈKI" order="230">
172     <isis type="swish">254 454</isis>
173     <isis type="index">254a</isis>
174     <isis type="index">454a</isis>
175     <isis type="display">254a</isis>
176     </DescriptorGE>
177    
178     <NonDescriptorGE name="Nedeskriptori:" order="240">
179     <isis type="display">454a</isis>
180     </NonDescriptorGE>
181    
182     <SubjectAreaGE name="Podruèje:" order="250">
183     <isis type="swish">575 576</isis>
184     <isis type="index">[251] </isis>
185     <isis type="index" append="1">575a. 576a.</isis>
186     <isis type="display">[5754]</isis>
187     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5751;;575a</isis>
188     </SubjectAreaGE>
189    
190     <MicrothesaurusGE name="Mikrotezaurus:" order="260">
191     <isis type="display">[5764]</isis>
192     <isis type="display" append="1" delimiter=" " format_name="IDths" format_delimiter=";;">5761;;576a</isis>
193     </MicrothesaurusGE>
194    
195 dpavlin 178 <!--
196     order is important for type="lookup_key|lookup_val"
197     They create internal hash file for lookups from other
198     fields. Therefore, you mist ensure (in config file) that
199     databases which are source of lookup are called before
200     databases that use lookup fields.
201     Those lookup are then used using special ##lookup##
202     token inside formating instructions like this:
203     <isis type="lookup">999x</isis>
204     -->
205    
206 dpavlin 204 <IDths name="ID" order="300">
207 dpavlin 178 <isis type="lookup_key">900</isis>
208 dpavlin 165 <isis>900</isis>
209     </IDths>
210 dpavlin 178
211 dpavlin 204 <SubjectIndex name="Predmetno kazalo" order="301">
212 dpavlin 189 <isis type="lookup_val">[5624] 562a</isis>
213     <!--
214     <isis type="lookup_val" append="1"> 562a</isis>
215     -->
216 dpavlin 165 </SubjectIndex>
217    
218     </indexer>
219     </config>

Properties

Name Value
cvs2svn:cvs-rev 1.5

  ViewVC Help
Powered by ViewVC 1.1.26