<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>PDF FROM DOCX</title><link>https://community.appian.com/discussions/f/plug-ins/30058/pdf-from-docx</link><description>HI 
 i am getting an error in PM while executing generate PDF FROM DOCX 
 Element type &amp;quot;ceatable&amp;quot; must be followed by either attribute specifications, &amp;quot;&amp;gt;&amp;quot; or &amp;quot;/&amp;gt;&amp;quot;. 
 How can i reslove this 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119461?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 11:41:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b002925f-3bd4-47ea-9308-2c7ef59970e0</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Presumably, you&amp;#39;re not converting the one with merge fields to PDF. I was referring to the docx you were generating before trying to convert to PDF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119446?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 09:15:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bb3c9f39-5c4e-49dc-bc5b-9142117c641d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;ChatGPT&lt;/p&gt;
&lt;p&gt;Debugging the XML structure of a DOCX file (not DOXC) can be useful when you&amp;#39;re working with Word documents programmatically or when you want to inspect the underlying XML content of a DOCX file. Here are the steps to do it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Rename the DOCX file&lt;/strong&gt;: Change the file extension from &lt;code&gt;.docx&lt;/code&gt; to &lt;code&gt;.zip&lt;/code&gt;. DOCX files are essentially ZIP archives containing XML files and other resources.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Unzip the file&lt;/strong&gt;: Use any ZIP file extraction tool to unzip the renamed file. This will give you access to the contents of the DOCX file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Inspect the XML&lt;/strong&gt;: Inside the unzipped folder, you will find various files and folders, including a folder named &amp;quot;word.&amp;quot; This folder contains the XML files that make up the document&amp;#39;s content.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;word/document.xml&lt;/code&gt;: This is the main document content in XML format.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/styles.xml&lt;/code&gt;: This file contains information about the document&amp;#39;s styles.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/numbering.xml&lt;/code&gt;: Contains information about numbering and lists.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/settings.xml&lt;/code&gt;: Document settings.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/header&amp;lt;x&amp;gt;.xml&lt;/code&gt; and &lt;code&gt;word/footer&amp;lt;x&amp;gt;.xml&lt;/code&gt;: If your document has headers or footers, you&amp;#39;ll find XML files for them.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/footnotes.xml&lt;/code&gt; and &lt;code&gt;word/endnotes.xml&lt;/code&gt;: For footnotes and endnotes.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;word/comments.xml&lt;/code&gt;: If there are comments in the document, you&amp;#39;ll find them here.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Open and Inspect&lt;/strong&gt;: Open the XML files of interest using a text editor or an XML editor. You can use any text editor like Notepad, Visual Studio Code, or an XML-specific editor like Oxygen XML Editor or XMLSpy.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Review the XML&lt;/strong&gt;: Inspect the XML content to debug and understand the structure of the document. You&amp;#39;ll see the tags and elements that make up the document&amp;#39;s content.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Make Changes (if needed)&lt;/strong&gt;: If you&amp;#39;re debugging or modifying the XML structure, be cautious. Making changes to the XML structure directly can corrupt the document. It&amp;#39;s usually better to use a tool or library designed for working with DOCX files programmatically (e.g., Python-docx for Python).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Rezip and Rename&lt;/strong&gt;: After you&amp;#39;re done inspecting or making changes, select all the files and folders, and zip them back into a single ZIP file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Rename Back to .docx&lt;/strong&gt;: Finally, change the file extension back from &lt;code&gt;.zip&lt;/code&gt; to &lt;code&gt;.docx&lt;/code&gt;. You can now open the document using Microsoft Word or your preferred word processing software.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Remember that directly modifying the XML structure of a DOCX file can be risky and might lead to document corruption. If you need to programmatically work with DOCX files, it&amp;#39;s often safer to use libraries or tools designed for this purpose, such as Python-docx for Python or Apache POI for Java. These libraries provide a higher-level interface for working with DOCX files and handle the XML structure internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119442?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 08:57:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e9ad28b-a026-4058-a796-6df8dfff1b60</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;How can i do this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119439?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 08:44:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a8ab892-c855-4a53-8d87-a5a37b21c0ac</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You will need to debug the XML structure of that document. Unzip it and find the spot, pointed out by the error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119438?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 08:29:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3402fa13-d8b5-46e3-bd04-41e371ba42b6</guid><dc:creator>Sudhir Singh</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/19/pastedimage1695112138060v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Hi Mathieu this is my doc file&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PDF FROM DOCX</title><link>https://community.appian.com/thread/119437?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 07:34:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5f5405ab-54e3-4d41-af38-5a4c6f236482</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Looks like an XML error.&lt;/p&gt;
&lt;p&gt;Something is wrong with your docx file. Are you able to open the docx file in question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>