I need to export all polls of a D6 site in XML format so that they can be imported to Django. Node export module states that one can choose to export nodes in xml using drush. However I could not find any docs to describe how to do so. I tried:
drush node-export-export --type=poll --file=xpoll
It exports the polls but in array format. I also could not figure out how to do so using the module's GUI.
So appreciate your help to get the nodes XML, preferably using a drush command.
Here's how to export your nodes in XML format using the GUI:
Enable the "Node export XML" module.
Then, in admin/settings/node_export, in "Format to use when exporting a node :", check "XML".
Then, to export nodes, you have 2 options :
if you want to export a single node, you have a "Node export (XML)" tab at the top of each content.
if you want to export many nodes, you need the VBO module to perform bulk operations. To enable "node export actions" in the "admin_content" VBO view (/admin/build/views/edit/admin_content), click at the right of "Style : bulk operations" and check "node export (XML)" in the "Selected operations" fieldset. You're now able to bulk export your polls using the "Node export (XML)" option in the "Bulk operations" select area.