|
60
|
1 <?xml version='1.0'?>
|
|
|
2 <!-- datafile: greetings.xml -->
|
|
|
3 <!-- query: s -->
|
|
|
4 <!-- an xml rule with a disjunction and a sequence -->
|
|
|
5 <!DOCTYPE rules SYSTEM "lxtransduce.dtd" >
|
|
|
6 <rules type="xml" apply="rule" xmlns:x="http://www.w3.org/1999/xhtml">
|
|
|
7
|
|
|
8
|
|
|
9
|
|
|
10 <!-- Use with -q 'div[@class="a"]' to repair multi sed contra -->
|
|
|
11
|
|
|
12 <rule name="rule" wrap="div" attrs="class='sc'">
|
|
|
13 <query match="p[@title~'s\. c\. ']" mult="+"/>
|
|
|
14 </rule>
|
|
|
15
|
|
|
16 <!-- Fix ns with sed '3,$s/ xmlns="[^"]*"//g' -->
|
|
|
17
|
|
|
18 </rules>
|