resolver.addSystemIdMapping(
STYLE_CATEGORIES_SCHEMA_URI,
STYLE_CATEGORIES_SCHEMA_LOCATION);
final InputSource xmlInputSource =
resolver.resolveEntity(null, STYLE_CATEGORIES_XML_URI);
// Create a content handler and attach it to the reader
final StyleCategoryContentHandler handler =
new StyleCategoryContentHandler();
reader.setContentHandler(handler);