Processing Lists in Word 2007 (Word to html conversion using XSL-S

V

Vasu@MSWord

Hi,
Previously I created an XSL-Stylesheet to convert Word 2003 to html using
XSL Stylesheet. Back then Word saved tab-before and tab-after information in
the xml as wx:wTabBefore and wx:wTabAfter attributes within the wx:t tag.

Eg:
<wx:t wx:val="First." wx:wTabBefore="360" wx:wTabAfter="615"/>
This helped me to preserve the spacing after the numbering value when
converting word to html.

But in Word 2007, MS has removed these attributes. Somehow, Word is able to
retain the spacing after the numbering value.

For example:
First) When in the course of human events, it becomes necessary for
one people to dissolve the political bands which have connected them with
another, and to assume among the powers of the earth, the separate and equal
station to which the Laws of Nature and Nature's God entitle them, a decent
respect to the opinions of mankind required that they should declare the
causes which impel them to the separation.

In the above example, the spacing between the parantheses and the word
"When" is not recorded in the XML as Word automatically adds it. This spacing
used to be recorded as wx:wTabAfter=<some value> represented in twips.

Word 2007 does not save this information in the xml file.

If anyone has figured out a way to resolve this, could you please let me
know. I would really appreciate the help.

Regards,
Vasu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top