/*******************************************************************************
 * Copyright (c) 2011, 2015 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.help.internal.webapp.utils;

public final class XMLHelper {

	public static final String SESSION_URL				= "helpURL"; //$NON-NLS-1$

	public static final String URL36_PREFIX				= "/advanced"; //$NON-NLS-1$
	public static final String TOC_URL					= "/tocfragment"; //$NON-NLS-1$
	public static final String SEARCH_URL				= "/search"; //$NON-NLS-1$

	public static final String ATTR_TITLE				= "title"; //$NON-NLS-1$
	public static final String ATTR_ID					= "id"; //$NON-NLS-1$
	public static final String ATTR_HREF				= "href"; //$NON-NLS-1$
	public static final String ATTR_IMAGE				= "image"; //$NON-NLS-1$
	public static final String ATTR_LABEL				= "label"; //$NON-NLS-1$
	public static final String ATTR_SCORE				= "score"; //$NON-NLS-1$
	public static final String ATTR_LOCALE				= "locale"; //$NON-NLS-1$
	public static final String ATTR_KEYWORD				= "keyword"; //$NON-NLS-1$

	public static final String ELEMENT_NODE				= "node"; //$NON-NLS-1$
	public static final String ELEMENT_HIT				= "hit"; //$NON-NLS-1$
	public static final String ELEMENT_HITS				= "searchHits"; //$NON-NLS-1$
	public static final String ELEMENT_CATEGORY			= "category"; //$NON-NLS-1$
	public static final String ELEMENT_SUMMARY			= "summary"; //$NON-NLS-1$
	public static final String ELEMENT_DESCRIPTION		= "description"; //$NON-NLS-1$
	public static final String ELEMENT_INDEX			= "index"; //$NON-NLS-1$
	public static final String ELEMENT_PREFERENCES		= "preferences"; //$NON-NLS-1$
	public static final String ELEMENT_PLUGIN			= "plugin"; //$NON-NLS-1$
	public static final String ELEMENT_ABOUT_PLUGINS		= "aboutPlugins"; //$NON-NLS-1$
	public static final String ELEMENT_INDEX_CONTRIBUTIONS	= "indexContributions"; //$NON-NLS-1$
	public static final String ELEMENT_TOC_CONTRIBUTIONS	= "tocContributions"; //$NON-NLS-1$
	public static final String ELEMENT_NUMERIC_PATH			= "numeric_path"; //$NON-NLS-1$

	public static final String CATEGORY_HREF			= "categoryHref"; //$NON-NLS-1$
}
