@Override
	public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException {
		if (qName.equals("rowset")) {
			String name = getString(attrs, "name");
			factions = name.equals("factions");
			factionWars = name.equals("factionWars");
		} else if (qName.equals("row")) {
			if (factions) {
				ApiFactionStats item = new ApiFactionStats();
				item.setFactionID(getInt(attrs, "factionID"));
				item.setFactionName(getString(attrs, "factionName"));
				item.setPilots(getInt(attrs, "pilots"));
				item.setSystemsControlled(getInt(attrs, "systemsControlled"));
				item.setKillsYesterday(getInt(attrs, "killsYesterday"));
				item.setKillsLastWeek(getInt(attrs, "killsLastWeek"));
				item.setKillsTotal(getInt(attrs, "killsTotal"));
				item.setVictoryPointsYesterday(getInt(attrs, "victoryPointsYesterday"));
				item.setVictoryPointsLastWeek(getInt(attrs, "victoryPointsLastWeek"));
				item.setVictoryPointsTotal(getInt(attrs, "victoryPointsTotal"));
				response.addStat(item);
			} else if (factionWars) {
				ApiFactionWar item = new ApiFactionWar();
				item.setFactionID(getInt(attrs, "factionID"));
				item.setFactionName(getString(attrs, "factionName"));
				item.setAgainstID(getInt(attrs, "againstID"));
				item.setAgainstName(getString(attrs, "againstName"));
				response.addStat(item);
			}
		}
		super.startElement(uri, localName, qName, attrs);
	}