perl -nle '/metaattribute metaattribute-name="([^"]+)" metaobject-name="([^"]+)"/ and print "$2.$1"' textfile