angular-xml-editor
Version:
XML editor component for Angular
10 lines (9 loc) • 592 B
TypeScript
import { XmlCursorPos } from '../cursor/xmlCursorPos.class';
import { XmlRules } from '../xml-rules-check/xmlRules.class';
import { XmlSchema } from '../xml-rules-check/xmlSchema.class';
import { XmlCursor } from '../cursor/xmlCursor.class';
export declare class XmlEditInsert {
static replaceWithText(pos: XmlCursor, value: string, rootNode: Element, xmlRules: XmlRules, xmlSchema: XmlSchema): boolean;
static insertText(pos: XmlCursorPos, value: string, rootNode: Element, xmlRules: XmlRules, xmlSchema: XmlSchema): boolean;
private static isTextAllowedInParentNode;
}