From 1b44bd42414240201a4241f78045c3e2f7835f92 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Thu, 8 Aug 2002 15:30:11 +0000 Subject: [PATCH] apply-templates uses match attribute. git-svn-id: http://dom-editor.googlecode.com/svn/branches/Gtk2@394 ef21e15d-ca94-4315-9c45-0d95b1b2e117 --- Dome/xslt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dome/xslt.py b/Dome/xslt.py index da3484e..a90ae65 100644 --- a/Dome/xslt.py +++ b/Dome/xslt.py @@ -143,13 +143,13 @@ def make_template(op, temp): sub = block.start if child._select: - match = child._select.pprint() + match = `child._select` else: match = '*|text()' print "MATCH:", match sub = add(sub, 'mark_switch') - sub = add(sub, 'do_global', '*|text()') # XXX + sub = add(sub, 'do_global', match) sub = add(sub, 'map', 'XSLT/Default mode') sub = add(sub, 'mark_switch') -- 2.11.4.GIT