...
Code Block |
---|
set document [$::gid_groups_conds::doc documentElement] set xpath {/cmas2d_customlib_data/condition[@n='Point_Weight']/group} set group_ids [] foreach group_node [$document selectNodes $xpath] { set group_id [get_domnode_attribute $group_node name]n] lappend group_ids $group_id } |
Note: To see the whole xml document, execute
...