in reply to should I do() this?

You can use the unix xargs command to execute a command on each outputted xml file (assuming you can find a way to output them properly):
xargs reads argu- ments from the standard input, delimited by blanks (which can be pro- tected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any initial-arguments followed by arguments read from standard input. Blank lines on the standard input are ignored.