Yasser S. wrote:
I've been using w2xml and it's generally working well. I recently ran
into a problem where it outputs <p> elements with style attribute e.g.
<p style="text-align:center;">
I'd like to instead output a class attribute e.g.
<p class="center">
Is there a built-in way to do this? I tried setting -p
transform.style-with-class "yes" but that didn't work.
I would say that
-p transform.style-with-class "yes"
should have solved your problem. May be you have uncovered a bug.
Please send us a sample DOCX file and also a text file containing all
the w2x options you use, so we can reproduce the problem here at XMLmind.
Reference:
http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#transform_step
--
XMLmind Word To XML Support List
w2x-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/w2x-support