Would like to be able to export all posts and their embedded media into a well-formed XML document - or even better, a Word document. I need all posts in date order. Posts have pictures included from the media library; some posts use the
[gallery] shortcode, so the export should be able to get those pictures also.
I have tried the standard WP Tools Export, of all data, and just of posts. That creates the XML file, but still need to get that into an editable Word document. I have also tried the WP All Export plugin, but it's XML output is not 'well-formed' (according to the WordPress2Doc program, which apparently handles only the standard WP Export XML format).
I have tried WordPress2Doc standalone program, but it is unable to handle
[gallery] images properly. (Have communicated with the WordPress2Doc author, and provided a sample XML export, but his program cannot process the images properly.)
The ultimate intent is to get all posts into an editable Word document, with 'internal' pictures (not links to pictures), to produce a printed book.
I can build a bare-bones template that will use the WP Loop to output all posts/images to an HTML page, but that doesn't give me a standalone Word doc.
Have spent a lot of time asking the googles, to no avail.
How can I convert posts, including images, into an editable document?
Edit: crossposted in Stackoverflow, since the question is not entirely WordPress-based; a solution could be used for nonWP sites.