view summa/latin/w.rules @ 126:a23602c8183d

FS_vii start and finish
author ht
date Sun, 07 May 2023 11:39:00 +0000
parents 206e94730bf0
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>