Form an uploaded document I am extracting content between hidden character.Then I converting this extracted node to an html string and storing in the database. I have to create another document same as input doc( all the content I will take from the uploaded doc) . While creating this another document some numbering is not coming like,
In the newly created document with the xtracted html content showing
Like this. Not the exact numbering i put. I am attacheing my source code, input_doc,output_doc and expected_output.
sample_doc.zip (596.4 KB)
Please check and give me a solution for it.