Hello World! I have a bit of an issue I need my table in sql to be exported to an XML file. I have an example of the XML file and created my table to look like the file. Here is what my final XML is supposed to look like:
<?xml version="1.0" encoding="windows-1252"?>
<Root>
<ListPreDef>
<bm TYPE="1" COLOR="-1">
<DOCKNO>
<![CDATA[CRB1002061]]>
</DOCKNO>
<JUDGE>
<![CDATA[MAC]]>
</JUDGE>
<PLAINTIFF>
<![CDATA[]]>
</PLAINTIFF>
<PLAINMAN>
<![CDATA[]]>
</PLAINMAN>
<DEFENSE>
<![CDATA[]]>
</DEFENSE>
<DEFENDANT>
<![CDATA[Acton, Heidi Y]]>
</DEFENDANT>
<CMNT>
<![CDATA[]]>
</CMNT>
</bm>
<bm TYPE="1" COLOR="-1">
<DOCKNO>
<![CDATA[CRA1001371]]>
</DOCKNO>
<JUDGE>
<![CDATA[MAC]]>
</JUDGE>
<PLAINTIFF>
<![CDATA[]]>
</PLAINTIFF>
<PLAINMAN>
<![CDATA[]]>
</PLAINMAN>
<DEFENSE>
<![CDATA[Lake Co Public Defender]]>
</DEFENSE>
<DEFENDANT>
<![CDATA[Bailey, Melanie R]]>
</DEFENDANT>
<CMNT>
<![CDATA[***IN JAIL***]]>
</CMNT>
</bm>
I built a table that has the columns of:
DOCKNO, JUDGE, PLAINTIFF, PLAINMAN, DEFENSE, DEFENDANT, CMNT
Do I need a unique Identifier? How would I go about doing this? THANKs FOR ANY INPUT, IT IS REALL APPRECIATED!!!!
<?xml version="1.0" encoding="windows-1252"?>
<Root>
<ListPreDef>
<bm TYPE="1" COLOR="-1">
<DOCKNO>
<![CDATA[CRB1002061]]>
</DOCKNO>
<JUDGE>
<![CDATA[MAC]]>
</JUDGE>
<PLAINTIFF>
<![CDATA[]]>
</PLAINTIFF>
<PLAINMAN>
<![CDATA[]]>
</PLAINMAN>
<DEFENSE>
<![CDATA[]]>
</DEFENSE>
<DEFENDANT>
<![CDATA[Acton, Heidi Y]]>
</DEFENDANT>
<CMNT>
<![CDATA[]]>
</CMNT>
</bm>
<bm TYPE="1" COLOR="-1">
<DOCKNO>
<![CDATA[CRA1001371]]>
</DOCKNO>
<JUDGE>
<![CDATA[MAC]]>
</JUDGE>
<PLAINTIFF>
<![CDATA[]]>
</PLAINTIFF>
<PLAINMAN>
<![CDATA[]]>
</PLAINMAN>
<DEFENSE>
<![CDATA[Lake Co Public Defender]]>
</DEFENSE>
<DEFENDANT>
<![CDATA[Bailey, Melanie R]]>
</DEFENDANT>
<CMNT>
<![CDATA[***IN JAIL***]]>
</CMNT>
</bm>
I built a table that has the columns of:
DOCKNO, JUDGE, PLAINTIFF, PLAINMAN, DEFENSE, DEFENDANT, CMNT
Do I need a unique Identifier? How would I go about doing this? THANKs FOR ANY INPUT, IT IS REALL APPRECIATED!!!!