Combining multiple XSD's
Posted: Mon Jun 18, 2018 9:53 am
I hope someone can help me here.
I have 4 xsd documents that are interlinked. Their names are:
1)AcademicRecord_v1.9.0
2)AcademicRecordBatch_v2.1
3)CoreMain_v1.14.0
4)HighSchoolTranscript_v1.5.0
Crazy I know....
I have a test xml file that imports the "AcademicRecordBatch" and the "HighSchoolTranscript" files into it; I can post the xsd code of the other xsd files; sufficy to say the "CoreMain" and "AcademicRecord" are mixed into the aforementioned files.
I am trying to use the hierarchical stage; with one parser for the AcademicRecordBatch and another for the HighSchoolTranscript. My problem is that if I don't use the Union step everything hangs; if I do use the union step; I don't have any other XSD document to map the parsed output too.
I can one one parser stage at a time; everything seems to map fine; but no rows are produced by the hierarchical stage.
I'm kinda at a loss here; what is the way to read multiple xsd files to parse 1 xml file? Nothing seems to want to work. I did find some literature on how to do this; but that documentation had 2 parser stages mapping to yet another XSD file; of which I don't have.
What is the preferred way to do what I am trying to do? I can supply the XSD documents later if need be; does anyone have a good template project to go by?
Any help is appreciated.
I have 4 xsd documents that are interlinked. Their names are:
1)AcademicRecord_v1.9.0
2)AcademicRecordBatch_v2.1
3)CoreMain_v1.14.0
4)HighSchoolTranscript_v1.5.0
Crazy I know....
I have a test xml file that imports the "AcademicRecordBatch" and the "HighSchoolTranscript" files into it; I can post the xsd code of the other xsd files; sufficy to say the "CoreMain" and "AcademicRecord" are mixed into the aforementioned files.
I am trying to use the hierarchical stage; with one parser for the AcademicRecordBatch and another for the HighSchoolTranscript. My problem is that if I don't use the Union step everything hangs; if I do use the union step; I don't have any other XSD document to map the parsed output too.
I can one one parser stage at a time; everything seems to map fine; but no rows are produced by the hierarchical stage.
I'm kinda at a loss here; what is the way to read multiple xsd files to parse 1 xml file? Nothing seems to want to work. I did find some literature on how to do this; but that documentation had 2 parser stages mapping to yet another XSD file; of which I don't have.
What is the preferred way to do what I am trying to do? I can supply the XSD documents later if need be; does anyone have a good template project to go by?
Any help is appreciated.