xml check before parsing as xml

Added a simple check before parsing str in VisualList as xml. e.g. If the string in VisualList is the ID of an obsolete mediaitem, without this check the VisualList will throw exception. This check will avoid clogging log files with LoadXml exceptions raised when accessing GetAttribute method on XmlValue object.