How mannamanu/splkdemo works
This repository’s substantive source is a Python generator for a Spring Boot MISMO XML-to-JSON transformation service. The principal workflow accepts XML and an optional profile, validates against a profile-specific XSD, then transforms the XML to JSON. The excerpt shows the controller invoking validation and transformation, and the schema-loading code; it does not show the transformation service’s stylesheet-loading implementation, so that relationship is marked unverified. All repository components point to the generator file; generated Java/resource paths are not repository paths.
Main entry points: springboot.py Transform Endpoint
Components 7
API and Errors
- Transform Endpoint
springboot.py - Error Responses
springboot.py
Transformation
- Transformation Service
springboot.py - Profile XSDs
springboot.py - XSLT Profiles
springboot.py - JSON Result
springboot.py
Other components
- XML Client
Connections 7
- XML Client → Transform Endpoint: submits XML
springboot.py - Transform Endpoint → Transformation Service: validates XML
springboot.py - Transform Endpoint → Transformation Service: transforms XML
springboot.py - Transformation Service → Profile XSDs: loads profile schema
springboot.py - Transformation Service → XSLT Profiles: uses profile XSLT
springboot.py - Transform Endpoint → JSON Result: returns JSON
springboot.py - Transform Endpoint → Error Responses: raises handled errors
springboot.py