my $tempstart= $startnode->findvalue('pstart');