UNPKG

partial-xml-stream-parser

Version:

A lenient XML stream parser for Node.js and browsers that can handle incomplete or malformed XML data, with depth control, CDATA support for XML serialization and round-trip parsing, wildcard pattern support for stopNodes, and CDATA handling within stopNo

7 lines 703 B
import { ParserContext, SpecialPrefixResult, TagHandlerResult } from "./types"; export declare function handleSpecialPrefixes(parserContext: ParserContext, buffer: string, charAfterLT: string): SpecialPrefixResult; export declare function handleClosingTag(parserContext: ParserContext, tagString: string): boolean; export declare function handleOpeningTag(parserContext: ParserContext, tagString: string, i: number): TagHandlerResult; export declare function handleFallbackText(parserContext: ParserContext, buffer: string, startIndex: number, textNodeName: string): number; export declare function handleTextNode(parserContext: ParserContext, i: number): void; //# sourceMappingURL=tag-handler.d.ts.map