I need to convert/export data in my sql tables into xml format using an xsd schema. Could anyone please help me get started? or guide me to an example as I have not found one so far on this forum.
Thank you
Dav.

Comments

jsloan’s picture

I use XSLT to transform external xml sources to Drupal page output. But you are asking

.. to convert/export data in my sql tables into xml format

Do you need to create xml output from the Drupal tables? You would not need XSLT to do this, you would use an object/array to XML conversion function. A quick Google search returned several hits; this looks like a good start Instant XML with PHP