I have a question for you.
I have a XML file (or CSV file):
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<City>
<Code>LO</Code>
<Name>London</Name>
</City>
and I want to extract the additional information (for example, Author, Description, Creator, Comments, Format, ContentType etc.) from it in Java Code.
I read this similar question, but the extracting is from Excel file to Java Code: How to set Author name to excel file using poi
I would like to get in output the additional information (System.out.println(getAuthor) for example), if I give in input the filename (for example, test.csv or test.xml).
Who can help me?