view summa/latin/w.rules @ 60:206e94730bf0

fix multi-sed-contra
author ht
date Sat, 02 Jan 2010 17:48:01 +0000
parents
children
line wrap: on
line source

<?xml version='1.0'?>
<!-- datafile: greetings.xml -->
<!-- query: s -->
<!-- an xml rule with a disjunction and a sequence -->
<!DOCTYPE rules SYSTEM "lxtransduce.dtd" >
<rules type="xml" apply="rule" xmlns:x="http://www.w3.org/1999/xhtml">
 
 
 
 <!-- Use with -q 'div[@class="a"]' to repair multi sed contra -->

<rule name="rule" wrap="div" attrs="class='sc'">
 <query match="p[@title~'s\. c\. ']" mult="+"/>
</rule>
 
 <!-- Fix ns with sed '3,$s/ xmlns="[^"]*"//g' -->

</rules>