[PHP] search db or files?

So im wondering, for my next project I was going to use XML files to store the data, but I want the site to be able to search what would be in the <content> tag. Would it be wiser to use a database rather than XML, which would envolve opening the xml file, parsing it then working out if the needle is in the content?