}
private List<TreeItem> selectNode(INode inode, TreeItem [] items){
String name = inode.getName()+"-";
List<TreeItem> list = new ArrayList<TreeItem>();
NodeMatcher expMatcher = new NodeMatcher();
for(TreeItem item : items){
if(item.getText().startsWith(name)){
String indexValue = item.getText().substring(name.length());
int index = Integer.parseInt(indexValue);
if(inode instanceof NodeExp) {
NodeExp nodeExp = (NodeExp)inode;
if(expMatcher.match(nodeExp.getPattern(), index)) {
Attribute [] attrs = nodeExp.getAttributes();
if(attrs == null || attrs.length < 1) {
list.add(item);
} else {
String data = (String)item.getData();