Hi,
Is there any UltraEdit script that can convert XML files to MySQL scripts (or something close)?
So XML content like
converts to something like
May have more than two assignee, may do something different for the table structure.
Thanks for any info.
Is there any UltraEdit script that can convert XML files to MySQL scripts (or something close)?
So XML content like
Code: Select all
<record>
<document-id>patent.US336962</document-id>
<patent-family>2406050</patent-family>
<assignee source="IFI">
<name>TESLA ELEC LIGHT & MFG CO</name>
</assignee>
<assignee source="IFI">
<name>THE TESLA ELECTRIC LIGHT AND MANUFACTURING COMPANY</name>
</assignee>
</record>
<record>
<document-id>patent.US337179</document-id>
<patent-family>2406267</patent-family>
<assignee source="IFI">
<name>ALBEA SRVC SAS</name>
<address>FR</address>
</assignee>
</record>
Code: Select all
INSERT INTO `norm_export_xml`.`doc` (`document-id`, `patent-family`, `assignee1_source`, `assignee1_name`, `assignee2_source`, `assignee2_name`) VALUES ('patent.US336962', '2406050', 'IFI', 'TESLA ELEC LIGHT & MFG CO', 'IFI', 'THE TESLA ELECTRIC LIGHT AND MANUFACTURING COMPANY');
Thanks for any info.