Combine XML parser classes into XMLParser