I'm not aware of a collection class that maps to XML - certainly there is none in the core class libraries. Are you familiar with XML processing? The XPath functionality of the JAXP API (which is part of core
Java) seems a good fit for this problem; you can find introductions linked in the
XML FAQ.