xsd-lookup
Version:
Multi-schema XSD lookup utility
18 lines • 511 B
TypeScript
export interface XmlFileInfo {
schemaType: string | null;
schemaFile: string | null;
}
/**
* Utility class for detecting XSD schema types from XML files
*/
export declare class XsdDetector {
/**
* Detect the schema type from XML file header
*/
static detectSchemaFromXml(xmlFilePath: string): XmlFileInfo;
/**
* Convenience function to get just the schema name
*/
static getSchemaName(xmlFilePath: string): string | null;
}
//# sourceMappingURL=XsdDetector.d.ts.map