angular-xml-editor
Version:
XML editor component for Angular
19 lines (18 loc) • 770 B
TypeScript
import { XmlRules } from '../xml-rules-check/xmlRules.class';
import { XmlRuleElement } from '../xml-rules-check/xmlRuleElement.class';
export declare class Xml2html {
rules: XmlRules;
private static DataTagName;
static NoClosingTagClassName: string;
static FloatingTagClassName: string;
static CommentTagClassName: string;
private attributeWorker;
constructor(rules: XmlRules);
static getTagNameFromNode(node: Node): string;
static isFloatingElement(node: Node): boolean;
static isNoClosingElement(node: Node): boolean;
ToHtml(xml: string): string;
createNewElementHtml(ruleElem: XmlRuleElement): string;
createNewElementByName(tagName: string): Element;
private GetHtmlElementFromXmlElement;
}