Hello All,
I need to import this XML file using SSIS. In SSIS I use XMLSourceEditor. What XMLSourceEditor is doing the it is creating different output names for LANG_CD and LANG_DESCR in LOCATION_LEVEL1 element thus putting the values of these in two different tables.
I need to put LANG_CD and LANG_DESCR column in the same table.
Please advice.
Below is the xml format that i need to import;
<?xml version='1.0' encoding="UTF-8"?>
<Packet>
<Action Name="Export">
<REQISITION_INFO>
<REQUISITION_NO>1</REQUISITION_NO>
<REQ_TITLE>
<LANG_CD>en</LANG_CD>
<LANG_DESCR>Manager</LANG_DESCR>
</REQ_TITLE>
<LOCATION_LEVEL1>
<LANG_CD>pt-BR</LANG_CD>
<LANG_DESCR>Spanish</LANG_DESCR>
<LANG_CD>de</LANG_CD>
<LANG_DESCR>English</LANG_DESCR>
</LOCATION_LEVEL1>
<RECRUITER_NAME>recruitername</RECRUITER_NAME>
<RECRUITER_EMAIL>hello123@test.com</RECRUITER_EMAIL>
</REQISITION_INFO>
<REQISITION_INFO>
<REQUISITION_NO>2</REQUISITION_NO>
<REQ_TITLE>
<LANG_CD>en</LANG_CD>
<LANG_DESCR>Manager</LANG_DESCR>
</REQ_TITLE>
<LOCATION_LEVEL1>
<LANG_CD>pt-BR</LANG_CD>
<LANG_DESCR>English</LANG_DESCR>
<LANG_CD>de</LANG_CD>
<LANG_DESCR>Spanish</LANG_DESCR>
</LOCATION_LEVEL1>
<RECRUITER_NAME>recruitername</RECRUITER_NAME>
<RECRUITER_EMAIL>hello123@test.com</RECRUITER_EMAIL>
</REQISITION_INFO>
</Action>
</Packet>