/[webpac]/trunk/doc/formating_xml.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/doc/formating_xml.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20 - (show annotations)
Sat Feb 22 23:49:22 2003 UTC (21 years, 1 month ago) by dpavlin
File MIME type: text/plain
File size: 735 byte(s)
add filter="name" for fields (to correct strane input data or make variations
for indexing)

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

Properties

Name Value
cvs2svn:cvs-rev 1.1

  ViewVC Help
Powered by ViewVC 1.1.26