Here i am showing that how to parse the linked profile values from xml which is received in the response but not by the GetElementbyTheTagname.
my $parser = XML::Parser->new( Style => 'Tree' );
my $tree = $parser->parse( $profile_xml );
print Dumper( $tree );
my $UID = $tree->[1]->[4]->[2],"\n";
print "User ID:$UID";
print"</br>";
This is the way we can parse the values from the received response.
solved Retrieve values from the reponse xml by GetGetElementByTheTagName