## Get all the server types: my @types = $XML->{server}('[@]','type') ;