my @records = $root->findnodes("//createnew/*//text()"); print $_->textContent() ,"\n" for @records;