We can't answer that - partly because as Richard and Dave have said, you didn't actually ask a question, or show any effort, but mostly because there are too many ways to do it, and we have no idea what you have done so far or how our solution might fit into that codebase.
But this is where I'd probably start:
Overview - LINQ to XML - .NET | Microsoft Learn[
^]