File: template.xml

package info (click to toggle)
liblingua-translit-perl 0.29-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 824 kB
  • sloc: xml: 7,707; perl: 416; makefile: 37
file content (62 lines) | stat: -rw-r--r-- 1,215 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE translit SYSTEM "translit.dtd">


<!--

  Transliteration definitions for XXX.

  Copyright 200x ... <...>

-->


<translit>

    <name></name>
    <desc></desc>
    <reverse></reverse>

    <!-- set of transliteration rules -->

    <rules>

        <!-- Without context... -->

        <!-- ...using ASCII characters -->
        <rule>
            <from>X</from>
            <to>Y</to>
        </rule>

        <!-- ...using Unicode codepoints (hexadecimal) -->
        <rule>
            <from>&#x00E4;</from> <!-- LATIN SMALL LETTER A WITH DIAERESIS -->
            <to>ae</to>
        </rule>

        <!-- ...using Unicode codepoints (decimal) -->
        <rule>
            <from>&#228;</from>   <!-- LATIN SMALL LETTER A WITH DIAERESIS -->
            <to>ae</to>
        </rule>


        <!-- With context... -->

        <!-- ...specified as 'after', 'before' or both (= between) -->
        <rule>
            <from>A</from>
            <to>B</to>
            <context>
                <after>x</after>
                <before>y</before>
            </context>
        </rule>

    </rules>

</translit>

<!-- vim: set sts=4 sw=4 ts=4 ai et ft=xml: -->