Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By DavidSmith on
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
I may be able to help...
I use XSLT to transform external xml sources to Drupal page output. But you are asking
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