Camille B. wrote:

Thanks for your feedback. We have been investigating all the steps,
making tests, and the first conclusion is that the XHTML available after
the convert step does not have the information about the columns or the
page orientation anyway.

So we decided to add special styles in the .docx to tell which titles
introduce sections with special behavior. The fact is that the xed
scripts wipe that information so it is not available anymore at the XSLT
step.

Would you be available to provide us with a simple xed script version
that keeps the class attributes from the first step?

If you just want to keep class attributes from the first step, we can of course explain how to do this. If a XED script is needed to do this (not sure), we'll write it for you.

In order to do this, we need:

1) Please specify if you want to keep all class attributes or just the class attributes containing specific values. In the later case, please specify these specific values.

2) A sample DOCX file having your special styles.

However, I'm not sure that something as simple as keeping class attributes from the first step will be sufficient to convert the "HTML before XED" below to *exactly* the "We would need after XED" below.




We'd pay for it, of course.

Thanks, but there is no way for us to get paid to do this.

It's true that we used to have quick customization service but we have discontinued this service a couple of years ago.




This is the HTML before XED:


    <?break-page?>
        <p class="p-MyBox">XXX</p>
        <p class="p-Heading2Column n-2-1">YYY</p>
        <?end-of-section?>
            <p class="p-MyNormal">ZZZ</p>
            <?end-of-section?>
                <p class="p-MyNormal" />

We would need after XED:

    <div class="role-section1">
        <h1>XXX</h1>
        <div class="role-section2 p-Heading2Column n-2-1">
            <h2>YYY</h2>
            <p class="p-MyNormal">ZZZ</p>
        </div>
    </div>

That would allow us to get that information back into DocBook and then
to get the columns back into the XSL-FO...

We are available for more information if needed.


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

Reply via email to