inside table cell in header in XML document is not visible when convert file to DOCX

I am using docio.net.core vs 18.3.0.48 to convert xml files from word to *.doc format.
However, I have an anomaly when I include a table cell with an image inside in document header.
In that case the image is not rendered in the resulting file.speed test
I have attached examples and the code I am using:

private static WordDocument FromXMLtoDOC(String strXML)
        {
            WordDocument wordDoc = new WordDocument();
            tryshowbox
            {
                wordDoc.UpdateStylesOnOpen = true;
                wordDoc.Open(strXML.ToStream(), FormatType.Doc);
                usps tracking
                //TEST->Exit to ----------------- file
                Stream file3 = File.Create("outputdoc.doc");
                file3.Position = 0;
                wordDoc.Save(file3, OutputFormat);
                file3.Close();

                return wordDoc;

            }
            catch (Exception e) { return null; }
        }


1 Reply 1 reply marked as answer

HC Hemalatha Chiranjeevulu Syncfusion Team December 1, 2020 12:40 PM UTC

Hi SebastianWyatt, 
 
Thank you for contacting Syncfusion support. 
 
We have tried to reproduce the reported problem using the given details, but it works properly at our end. For your reference we have prepared a sample application to convert XML string to DOC. 
 
Please find the sample from the below link: 
https://www.syncfusion.com/downloads/support/forum/160164/ze/Sample_application2066222824 

Note: Please find the input and generated output documents in “wwwroot\Data” folder of above sample location. 
 
We suspect that the reported problem might be due to the contents inside the input XML which used at your end. So, to analyse further on the reported problem in line with your requirement, could you please provide us the following things from your end: 
1. Input document. 
2. Code snippets or modified sample of above to reproduce the issue. 
3. Screenshot of the issue which faced at your end. 
 
Note: If you have any confidential data in your XML, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face. 
 
Based on the above details, we will analyse further at our end and provide you the appropriate solution at the earliest. 
 
Please let us know if you have any other questions. 
 

Regards,
 
Hemalatha C  


Marked as answer
Loader.
Up arrow icon