# HG changeset patch # User Thinker K.F. Li # Date 1295745841 -28800 # Node ID 7f25abbc1b611d067bdec9196becee97490b4bd1 # Parent 6a014a4ec79ecc01fd1b642f37a30034216d0dec Assign a name and ID for scenes node of main component diff -r 6a014a4ec79e -r 7f25abbc1b61 pyink/domview.py --- a/pyink/domview.py Sun Jan 23 09:06:05 2011 +0800 +++ b/pyink/domview.py Sun Jan 23 09:24:01 2011 +0800 @@ -764,6 +764,9 @@ ns = "http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd" self._root.setAttribute("xmlns:ns0", ns) scenes_node = self._doc.createElement("ns0:scenes") + scenes_node_id = 'main_default_scenes' + scenes_node.setAttribute('id', scenes_node_id) + scenes_node.setAttribute('name', 'default') node.appendChild(scenes_node) self._scenes_node = scenes_node pass