comparison pyink/domview.py @ 1295:71118bff7d61

CHange the wrong append to appendCHild
author wycc
date Sun, 16 Jan 2011 09:45:09 +0800
parents 082fff7e9604
children 2a5da457474d
comparison
equal deleted inserted replaced
1294:082fff7e9604 1295:71118bff7d61
772 772
773 dst_child = doc.createElement('svg:use') 773 dst_child = doc.createElement('svg:use')
774 dst_child.setAttribute('id', dst_child_id) 774 dst_child.setAttribute('id', dst_child_id)
775 dst_child.setAttribute('xlink:href', '#' + src_child_id) 775 dst_child.setAttribute('xlink:href', '#' + src_child_id)
776 dst_child.setAttribute('ns0:duplicate-src', src_child_id) 776 dst_child.setAttribute('ns0:duplicate-src', src_child_id)
777 dst_group.append(child) 777 dst_group.appendChild(dst_child)
778 pass 778 pass
779 pass 779 pass
780 pass 780 pass
781 781