public static XMLStruct toXMLStruct(Node node,boolean caseSensitive){
  return XMLStructFactory.newInstance(node,caseSensitive);
}

public static XMLStruct toXMLStruct ( Node node , boolean caseSensitive ) { return XMLStructFactory . newInstance ( node , caseSensitive ) ; }
creates a xmlcollection object from a node
