Forum


Replies: 2   Views: 5695
Adding raw xml
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by DanD  · 30-11-2010 - 18:58

Generating large documents is very cumbersome because each new paragraph requires a line of code. I'd like the ability to store large chuncks of raw OfficeOpen XML (containing multiple paragraphs) in a database. I would then retrieve these large XML fragments as I want and assemble them into a document. But what I'd like is a method such as addRawXMLText($atext) that would simply append my XML to any other paragraphs that I created using addText().

Posted by admin-phpdocx  · 12-07-2013 - 13:44

Precisely the existing addWordML method does exactly that.