Mercurial > MadButterfly
diff pyink/domview.py @ 1294:082fff7e9604
merge
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 15 Jan 2011 23:07:29 +0800 |
parents | a3e04b3f2a8c 99de83340782 |
children | 71118bff7d61 |
line wrap: on
line diff
--- a/pyink/domview.py Sat Jan 15 22:41:58 2011 +0800 +++ b/pyink/domview.py Sat Jan 15 23:07:29 2011 +0800 @@ -771,8 +771,9 @@ dst_child_id = self.new_id() dst_child = doc.createElement('svg:use') + dst_child.setAttribute('id', dst_child_id) dst_child.setAttribute('xlink:href', '#' + src_child_id) - dst_child.setAttribute('id', dst_child_id) + dst_child.setAttribute('ns0:duplicate-src', src_child_id) dst_group.append(child) pass pass