typesxml
Version:
Open source XML library written in TypeScript
35 lines • 1.44 kB
JavaScript
/*******************************************************************************
* Copyright (c) 2023-2026 Maxprograms.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse License 1.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-v10.html
*
* Contributors:
* Maxprograms - initial API and implementation
*******************************************************************************/
export class Constants {
static DOCUMENT_NODE = 0;
static ELEMENT_NODE = 1;
static ATTRIBUTE_NODE = 2;
static CDATA_SECTION_NODE = 3;
static COMMENT_NODE = 4;
static PROCESSING_INSTRUCTION_NODE = 5;
static TEXT_NODE = 6;
static ENTITY_DECL_NODE = 7;
static XML_DECLARATION_NODE = 8;
static ATTRIBUTE_LIST_DECL_NODE = 9;
static DOCUMENT_TYPE_NODE = 10;
// constants for DTD parser
static ATTRIBUTE_DECL_NODE = 11;
static ELEMENT_DECL_NODE = 12;
static INTERNAL_SUBSET_NODE = 13;
static NOTATION_DECL_NODE = 14;
// RelaxNG Namespace URI
static RELAXNG_NS_URI = 'http://relaxng.org/ns/structure/1.0';
static RELAXNG_COMPATIBILITY_NS_URI = 'http://relaxng.org/ns/compatibility/annotations/1.0';
// XML Schema instance namespace URI
static XML_SCHEMA_INSTANCE_NS_URI = 'http://www.w3.org/2001/XMLSchema-instance';
}
//# sourceMappingURL=Constants.js.map