Import XHTML into Word 2003

L

leoman730

Hi,
I hope someone can help out on this or sheering me to the right direction.
We are currently develop a c# application that will automatically generate
Word Doc.
The application will pull data from database and then through Tidy format
the data into VALID XHTML. And then, we take the XHTML, parse it, then using
Microsoft.Office.Interop.Word to generate the word doc on the fly.

So our problem is that, the algorithm we use the parse the data is not
correct, and the program may crashed if it parsing not correctly (it get into
an infinite loop).

We are trying to finding a better solution to manipulate this VALID XHTML
data, and import that into Word Document with CORRECT Word format.

If anyone can provide any solution to handle this, please drop me some
lines. I would really appreciated it you can give some suggestion. Thank you
very much.
 

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