Extract data from XML

Hi,

I have an xml like this

<?xml version="1.0" encoding="utf-8" standalone="yes"?> <KeePassFile> <Root> <Group> <UUID>/VdBmHZszkOtUrNEclLTWA==</UUID> <Name>Test</Name> <Notes></Notes> <IconID>49</IconID> <Times> <CreationTime>2019-01-16T07:38:08Z</CreationTime> </Times> <Group> <UUID>+MXh9LS3DEaMFJtGn9vEsA==</UUID> <Name>General</Name> <Notes></Notes> <IconID>48</IconID> <Times> <CreationTime>2019-01-16T07:38:16Z</CreationTime> </Times> <Entry> <UUID>kkB8TmQ36Ua00yvkDW7X7A==</UUID> <Times> <CreationTime>2019-01-16T09:22:10Z</CreationTime> <LastModificationTime>2019-01-16T09:38:40Z</LastModificationTime> <LastAccessTime>2019-01-16T09:38:40Z</LastAccessTime> <ExpiryTime>2019-01-19T00:00:00Z</ExpiryTime> <Expires>True</Expires> <UsageCount>2</UsageCount> <LocationChanged>2019-01-16T09:22:10Z</LocationChanged> </Times> <String> <Key>Notes</Key> <Value></Value> </String> <String> <Key>Password</Key> <Value ProtectInMemory="True">ihrc4hsOormHChu1mLLi</Value> </String> <String> <Key>Title</Key> <Value>test</Value> </String> <String> <Key>URL</Key> <Value></Value> </String> <String> <Key>UserName</Key> <Value>testtesttest</Value> </String> <AutoType> <Enabled>True</Enabled> <DataTransferObfuscation>0</DataTransferObfuscation> </AutoType> </Entry> <Entry> <UUID>kkB8TmQ36Ua00yvkDW7X7A==</UUID> <Times> <CreationTime>2019-01-16T09:22:10Z</CreationTime> <LastModificationTime>2019-01-16T09:38:40Z</LastModificationTime> <LastAccessTime>2019-01-16T09:38:40Z</LastAccessTime> <ExpiryTime>2019-01-20T00:00:00Z</ExpiryTime> <Expires>True</Expires> <UsageCount>2</UsageCount> <LocationChanged>2019-01-16T09:22:10Z</LocationChanged> </Times> <String> <Key>Notes</Key> <Value></Value> </String> <String> <Key>Password</Key> <Value ProtectInMemory="True">ihrc4hsOormHChu1mLLi</Value> </String> <String> <Key>Title</Key> <Value>test2</Value> </String> <String> <Key>URL</Key> <Value></Value> </String> <String> <Key>UserName</Key> <Value>testtesttest</Value> </String> <AutoType> <Enabled>True</Enabled> <DataTransferObfuscation>0</DataTransferObfuscation> </AutoType> </Entry> </Group> </Root> </KeePassFile>
There are more <Entry> parameters and I'd like to extract for each of them <ExpiryTime> and the <Value> of <Key> "Title" and put everything in a readable mode (a table maybe).

Extract Data from XML

PS C:\users\admin> [xml]$xml = get-content test.xml
PS C:\users\admin> $xml

Objs
----
Objs


PS C:\users\admin> $xml.objs

Version xmlns                                           Obj
------- -----                                           ---
1.1.0.1 http://schemas.microsoft.com/powershell/2004/04 {Obj, Obj, Obj, Obj}