xml-helper-ts
Version:
A TypeScript library for XML parsing, validation with XSD schema, and XML/JSON conversion - built from scratch without external dependencies
15 lines • 430 B
TypeScript
import { XsdSchema, ValidationError } from './types';
export declare class XsdParser {
private xmlParser;
parseSchema(xsdString: string): {
schema: XsdSchema | null;
errors: ValidationError[];
};
private buildSchema;
private parseElement;
private parseComplexType;
private parseSimpleType;
private parseAttribute;
private getLocalName;
}
//# sourceMappingURL=xsd-parser.d.ts.map