Google webmaster FAQs suggest that this will exclude all xml files from search:

User-agent: Googlebot
Disallow: /*.xml$

Is this legal for other bots as well?

User-agent: *
Disallow: /*.xml$
link|improve this question

78% accept rate
feedback

1 Answer

up vote 1 down vote accepted

Yes, this is valid. Whether other bots actually understand and obey is completely up to them, though!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.