// clone the whole item
Element el_rendchoice = (Element) choice.selectSingleNode(shuffleItem);
// <!ELEMENT render_choice ((material | material_ref | response_label |
// flow_label)* ,response_na?)>
// <!ATTLIST response_label rshuffle (Yes | No ) 'Yes' .....
List el_labels = el_rendchoice.selectNodes(".//response_label[@rshuffle=\"Yes\"]");
int shusize = el_labels.size();
// set up a list of children with their parents and the position of the
// child (in case several children have the same parent
List respList = new ArrayList(shusize);