Hi all,
I've been Googling for over an hour and can't seem to find what I'm looking for. Perhaps it's because it doesn't exist, perhaps it's because the best computer scientists are often rotten pedagogues... Or maybe it's me, perhaps I don't know enough about XML and am on the wrong path... I don't know!
I'm trying to convert a database table into a simple XML document including data, DTD and XML Schema. It shouldn't be all that hard... Or am I wrong? I'm using MySQL.
I've seen that there are MySQL xml options, but here's what I get:
Code:
<row>
<field name="id">59434</field>
<field name="item">hammer</field>
</row>
<row>
<field name="id">282985</field>
<field name="word">head</field>
</row>
I don't want "row" and "field"!! I want these tags to be called "id" and "item" etc... a proper XML document... and DTD and XML schemas generated automatically.
Is this possible?
Or, if I'm really way off, could anybody out there give me some suggestions as to how to go about finding an XML equivalent for a single table / multiple tables?
Thanks in advance,
rm