3 See the gettext documentation for the file format:
4 http://www.gnu.org/software/gettext/manual/html_node/Preparing-ITS-Rules.html
6 <its:rules xmlns:
its=
"http://www.w3.org/2005/11/its"
7 xmlns:
gt=
"https://www.gnu.org/s/gettext/ns/its/extensions/1.0"
9 <its:translateRule selector=
"/schemalist" translate=
"no"/>
11 <its:translateRule selector=
"//summary | //description" translate=
"yes"/>
13 <its:translateRule selector=
"//default[@l10n]" translate=
"yes"/>
15 <!-- The 'context' attribute should be extracted as msgctxt. -->
16 <gt:contextRule selector=
"//default[@context]" contextPointer=
"@context"/>
17 <gt:escapeRule selector=
"//default/@context" escape=
"no"/>
19 <!-- Remove whitespaces around the default value. -->
20 <gt:preserveSpaceRule selector=
"//default" space=
"trim"/>
22 <!-- Extracted strings are consumed by the library and are never
23 merged back; we don't want to escape special characters. -->
24 <gt:escapeRule selector=
"/schemalist" escape=
"no"/>