So I have an XML file that has the below format

```
 <Document DocID="doc1" DocType="Message" MimeType="message">
        <Tags>
                <Tag TagName="#From" TagDataType="Text" TagValue="Jim"/>
                <Tag TagName="#To" TagDataType="Text" TagValue="hello@so.com
                <Tag TagName="#Subject" TagDataType="Text" TagValue="This Subject"/>

        </Tags>
        <Files>
                <File FileType="Text">
                        <ExternalFile FilePath="text_000" FileName="hello.txt"/>
                </File>
        </Files>
        <Locations>
                <Location>
                        <LocationURI>allen-p\&apos;Sent Mail</LocationURI>
                </Location>
        </Locations>
</Document>

```

I want to focus more on the tags:

```
<Tag TagName="#TO" TagDataType="Text" TagValue="Jim"/>

```

Say I want to find ALL of the Tags that have a `TagName "#TO"` and I want to get its corresponding `TagValue` (In this case it would be "Jim").

I need to do that for every tag where `TagName="#TO"`. and get the `TagValue`.

How could I do this in Java?