Unable to proces XML file in XML Stage from Multiple XSDs
Posted: Sun Jul 06, 2014 2:07 am
Hi All,
I need to process some XML files having the same metadata definitions. There are three XSDs were used to define the metadata of these XML files. The Reconciliation.xsd is the main XSD from where I am able to read most of the fields coming in XML file. But the main XSD is having include statement for other two reference XSDs which are AcctDemoRec.xsd and Fstype.xsd
From AcctDemoRec.xsd I need to take three fields in my target and these fields are optional and in case of some specific type of transaction these three fields will get populate in the XML files under the parent root called <Demo>.
I have imported all these three XSDs by Schema Library Manager and checked for the validation which
Showing no issues.
Most of my source fields are coming under one parent root called <Transrec> and I have selected that root in XML Document root and was able to process the XML files which are not having Demo section.
But when the Demo section is present in the file my job is getting aborted as it not able to identify that particular section.
Could you help me how can I resolve this issue?
I need to process some XML files having the same metadata definitions. There are three XSDs were used to define the metadata of these XML files. The Reconciliation.xsd is the main XSD from where I am able to read most of the fields coming in XML file. But the main XSD is having include statement for other two reference XSDs which are AcctDemoRec.xsd and Fstype.xsd
From AcctDemoRec.xsd I need to take three fields in my target and these fields are optional and in case of some specific type of transaction these three fields will get populate in the XML files under the parent root called <Demo>.
I have imported all these three XSDs by Schema Library Manager and checked for the validation which
Showing no issues.
Most of my source fields are coming under one parent root called <Transrec> and I have selected that root in XML Document root and was able to process the XML files which are not having Demo section.
But when the Demo section is present in the file my job is getting aborted as it not able to identify that particular section.
Could you help me how can I resolve this issue?