Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  XML Lab Site  General  problem of "eXm...
 problem of "eXml Web server control"
 
wangwenbin
1 posts
www.axegroup.com.au
Joined
5/29/2006

problem of "eXml Web server control"
Posted: 29 May 06 6:16 PM (Australia)

Hi Everybody,

        I have used eXml Web server control  in my C# project and it can generate the html source code from wordML on the front web browser. it works fine except for retrieving the HTML document content. When I debug my C# code and i would like to get the converted HTML content from WordML, and I can put it into the webHTMLeditor to edit by the end user. But I got the empty string from document content. Can anybody help me?

       Also I Havea question for converting back from HTML to WordML? Is that easy to transfer back with this web server control? Or should I use some other third party components?  If so then wen can edit the wordML on the web browser for end user.

 

Looking forward...

 

Many thanks!

 

George

George.wang@axegroup.com.au

     

olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: problem of "eXml Web server control"
Posted: 11 Jul 06 2:30 AM (Israel)
To convert WordML into HTML and get HTML you can just run XSLT transformation in code using XslCompiledTransform class. This is actually what eXml control does.
And for converting HTML back to WordML I'm not sure how it can be done. Word actually can open HTML and save it as WordML and this probably can be done programmably using Microsoft VSTO.

Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
  XML Lab Site  General  problem of "eXm...
Forum Home  Search