my $tempstart= $startnode->'pstart'->textContent;