Filter XML using Lambda expression in uipath

please use </> format button from editor. We cannot see the XML. But also bette when will share the file with us.

For doing a filtering / processing we have to handle the namespaces (we do see the p1 prefix)
#Visual

Checking if an XML element with particular value is present we can try following
YourXDocumentVar.Descendats().Any(Function (x) x.Value.Trim.toLower.Equals("superscript"))