for (int i = 0; i < attrs.getLength(); i++)
{
Node a = attrs.item(i);
if ("race".equalsIgnoreCase(a.getNodeName()))
{
Race race = Race.valueOf(a.getNodeValue());
cond = joinAnd(cond, new ConditionPlayerRace(race));
}
else if ("level".equalsIgnoreCase(a.getNodeName()))
{
int lvl = Integer.decode(getValue(a.getNodeValue(), null));