How to get the converted XML directly w.t.o. writing it to file. #218
-
Hey peps!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For instance input HTML string: <w:pPr>
<w:spacing w:lineRule="auto"/>
</w:pPr>
<w:r>
<w:rPr>
<w:b/>
</w:rPr>
<w:t xml:space="preserve">Hello</w:t>
</w:r> I want to get the converted XML directly!!💡 |
Beta Was this translation helpful? Give feedback.
-
There is method named |
Beta Was this translation helpful? Give feedback.
There is method named
generateDocumentXML()
in docx-document.js in https://github.com/privateOmega/html-to-docx/blob/master/src/docx-document.js#L202C11-L202C11 which returns XML string for document.xml