Near as I can tell, you are trying to apply some toolkit - but you don't say which one.
If this was my problem I would work directly with the DOM representation using the standard
Java library methods - see org.w3c.dom package.
I would make a constructor that takes a reference to the "list1" Element and extracts the needed values. Pretty simple really.
Bill