How do I prevent some of the HTML from being generated when I export a ODT to HTML using the writer2xhtml extension?

I’m writing legal documents to be published to the web. The web server is using PHP and is providing the html framework for the generated content. My question is how do I prevent the creation of the standard HTML document structure tags such as , , since those are already in place? The PHP program that I wrote is stitching several documents together to make one big one. So I just need what’s inside the tags.

I think you only can do some post-processing (manual or with some script), or change the source code to prepare a custom build.