On 04/20/2017 03:45 PM, Fabián Mandelbaum wrote:

is there any way to customize the structure of the ZIP folders for the
w2x docbook5 output?

Currently w2x produces:

name_of_docx_minus_the_extension/ (for the whole thing)
name_of_docx_minus_the_extension_files/ (for the images)

I'd need it to produce:

content/ (for the whole thing)
content/LANG/ (for the XML file _AND_ the images)


I'm sorry but there is currently no easy way[*] to do this.

Please note that the w2x servlet is meant to be customized (see WEB-INF/web.xml and conversions/*.txt found in w2x.war) and/or extended if needed to.

That's why the full source code of the w2x servlet is included in this distribution:

http://www.xmlmind.com/w2x/_download/w2x_servlet-eval-1_2_2.zip



---
[*] Even something like "-p convert.resource-directory ." which is supposed to generate everything in the same output directory does not work as expected due to a bug. See definition of parameter "resource-directory" in http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#convert_step


--
XMLmind Word To XML Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to