changeset 60:206e94730bf0

fix multi-sed-contra
author ht
date Sat, 02 Jan 2010 17:48:01 +0000
parents 03759e5c1080
children bfebbcb9ddf1
files summa/latin/w.rules
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/summa/latin/w.rules	Sat Jan 02 17:48:01 2010 +0000
@@ -0,0 +1,18 @@
+<?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>