@Override
	protected void parseSelf(Document doc) throws ProblemsReadingDocumentException  {
		List<?> result = queryXPathList(TITLE_XPATH, doc);
		if ((result != null) && (result.size()>0))
			setTitle(((Element) result.get(0)).getText());
		else
			throw new ProblemsReadingDocumentException("Can't read discography title");

		// now detect type of Discography
		result = queryXPathList(SIDEBAR_DIV_XPATH, doc);
		if (result.size()>0) {
			variant = DiscographyListVariant.SIDEBAR;
			return;
		}
		
		result = queryXPathList(INDEX_DIV_XPATH, doc);
		if (result.size()>0) {
			variant = DiscographyListVariant.CENTRAL_INDEX;
			return;
		}
		throw new ProblemsReadingDocumentException("Can't detect discography type");
	}