add filter="name" for fields (to correct strane input data or make variations
[webpac] / doc / formating_xml.txt
1
2
3 <isis type="swish|display|index"
4         append="1"
5         format="one of formatting functions below"
6         filter="name"
7 >_pre_000x_sep_000x_sep_000x_post_</isis>
8
9 format:
10         upper [from_char[,to_char]]
11
12                 makes field UPPERCASE
13                 default: whole field
14
15
16         upper_w [word_nr[,...]
17
18                 make words in field UPPERCASE
19                 default: first word
20
21         substr from[,len]
22
23                 returns substring from some character in some length
24                 default: len - rest of the string
25         
26         skip2nr
27                 skip all aphanumeric caracters and return just
28                 numbers after it. To output "1992." from "cop. 1992."
29
30         initial [word_nr[,...]]
31         
32                 make word(s) into initials (upper case first char and
33                 append dot after it)
34                 default: first word
35
36
37 filter:
38         name of filter which is stored in filters/[name].pm