I would like to prevent the exception.. Right now my code will skip the file with the problem, but I would like to skip the node with the problem if I can.. but it seems the exception is thrown when

RCgroup = XDoc.DocumentElement.SelectNodes("//media")


is executed, so I do not know if I can (I am guessing I cannot using this method..)