Convert XML code to only office text editor

i am using Front end React and C sharp i want to create a document editor i have a set of xml code which i have dynamically select based on the xml code to create a document and show it a document text editor which includes rich text editor

for example : if my text have bold letter means the only office text editor also should shown the bold

Hello @manojsaravanan

I’m not quite following your description, considering that category is set to Workspace. Which product do you use exactly?

Do you wish to open a file with .XML extension exactly? Document Server uses OOXML file formats (DOCX, XLSX, PPTX) natively.