Hi All,
I have been searching for a sample/basis python script which would create/generate a xml file out of oracle database. I don't have previous experience with Python. could you please help me on this. Below is the detail description on the task.
For example if i have table called "EMPLOYEE" in my oracle datbase and it is contains are "EMPNO,ENAME,SA L,DEPTNO"(colum n name) my XML file should looks like the below
<EMPLOYEE>
<EMPNO>123</EMPNO>
<ENAME>Shan</ENAME>
<SAL>2000</SAL>
<DEPTNO>100</DEPTNO>
</EMPLOYEE>
<EMPLOYEE>
<EMPNO>345</EMPNO>
<ENAME>Purna</ENAME>
<SAL>2000</SAL>
<DEPTNO>200</DEPTNO>
</EMPLOYEE>
I have been searching for a sample/basis python script which would create/generate a xml file out of oracle database. I don't have previous experience with Python. could you please help me on this. Below is the detail description on the task.
For example if i have table called "EMPLOYEE" in my oracle datbase and it is contains are "EMPNO,ENAME,SA L,DEPTNO"(colum n name) my XML file should looks like the below
<EMPLOYEE>
<EMPNO>123</EMPNO>
<ENAME>Shan</ENAME>
<SAL>2000</SAL>
<DEPTNO>100</DEPTNO>
</EMPLOYEE>
<EMPLOYEE>
<EMPNO>345</EMPNO>
<ENAME>Purna</ENAME>
<SAL>2000</SAL>
<DEPTNO>200</DEPTNO>
</EMPLOYEE>
Comment