File: xhtml.its

package info (click to toggle)
itstool 2.0.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: sh: 470; makefile: 24; python: 17
file content (48 lines) | stat: -rw-r--r-- 2,515 bytes parent folder | download | duplicates (6)
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
<its:rules
    xmlns:its="http://www.w3.org/2005/11/its"
    xmlns:itst="http://itstool.org/extensions/"
    xmlns:html="http://www.w3.org/1999/xhtml"
    version="2.0">

  <itst:match selector="/html:html"/>

  <its:translateRule translate="no" selector="//html:script | //html:style"/>

  <its:preserveSpaceRule space="preserve" selector="//html:pre"/>

  <its:withinTextRule withinText="yes" selector="//html:a |
                                                 //html:abbr |
                                                 //html:acronym |
                                                 //html:b |
                                                 //html:bdo |
                                                 //html:big |
                                                 //html:br |
                                                 //html:center |
                                                 //html:cite |
                                                 //html:code |
                                                 //html:del |
                                                 //html:dfn |
                                                 //html:em |
                                                 //html:font |
                                                 //html:hr |
                                                 //html:i |
                                                 //html:img |
                                                 //html:ins |
                                                 //html:isindex |
                                                 //html:kbd |
                                                 //html:q |
                                                 //html:s |
                                                 //html:samp |
                                                 //html:small |
                                                 //html:span |
                                                 //html:strike |
                                                 //html:strong |
                                                 //html:sub |
                                                 //html:sup |
                                                 //html:tt |
                                                 //html:u |
                                                 //html:var "/>

  <its:externalResourceRefRule externalResourceRefPointer="@src"
                               selector="//html:img | //html:audio | //html:video"/>
</its:rules>