I'm not sure I understood your intentions, but if you're trying to use the output of the first command as a list of files for the second grep, then you should include the list of files in the command line, not pipe it into grep.
Code:
grep name `grep -ri 30855 *.xml | cut -d ':' -f 1`
Note that this example uses a backward apostrophe (ascii code 96).