Hi to all my friends,
I have a new problem today.
I have to parse a simple XML
doc, like this one:
My
Java method take an int and a
String that represents the attribute "locale".
So, the method getParsing (3, "en_GB") returns "minutes", or getParsing (1, "it_IT") returns secondi.
I have found a complex way to get the value I desire, with 2 for cycles: the code is terrible.
So I want to know if, using DOM or another utility, I can have direct access to my XML file.
Any solution?