{"id":933,"date":"2014-09-30T18:25:44","date_gmt":"2014-09-30T18:25:44","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=933"},"modified":"2020-06-10T15:10:10","modified_gmt":"2020-06-10T22:10:10","slug":"setting-a-preprocessor-for-text-to-xml-conversion","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/setting-a-preprocessor-for-text-to-xml-conversion\/","title":{"rendered":"Setting a Preprocessor for Text to XML Conversion"},"content":{"rendered":"<h3>When should the preprocessor be used?<\/h3>\n<p>When print output is formatted in a way that includes variably-sized blocks of data, the preprocessor can be used to enhance output that needs to be independent of the input page\u2019s conversion. Ordinarily, variable blocks are line\u00a0items with multiple detail lines.<\/p>\n<h3>When should the preprocessor not be used?<\/h3>\n<p><strong>Already XML &#8211;<\/strong> The Print Output needs to be in text or PCL format. The Text to XML conversion accepts text as input. Source data in XML, PDF or image formats are not applicable to this process.<br \/>\n<strong>Too many pages &#8211;<\/strong> The Text to XML process keeps the working document in memory. Most systems will only handle a few thousand pages in a batch\u00a0without problems. If the batch\u00a0is too large, use an output-bursting project to keep the size reasonable.<\/p>\n<p>Complete the following steps to use\u00a0the Text to XML Converter:<\/p>\n<p><strong>1.<\/strong> Create a new eFORMz Project by right clicking in the Project Window and selecting the New Project option.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-934\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx1-300x217.png\" alt=\"ttx1\" width=\"300\" height=\"217\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx1-300x217.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx1-150x108.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx1.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>2.<\/strong> Next, right click the new Project name from the Project Viewer and choose Add Page.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-935\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx2-220x300.png\" alt=\"ttx2\" width=\"220\" height=\"300\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx2-220x300.png 220w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx2-110x150.png 110w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx2.png 288w\" sizes=\"(max-width: 220px) 100vw, 220px\" \/><\/a><\/p>\n<p><strong>3.<\/strong> The Page Properties dialog box will display. Click OK to proceed.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-936\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx3-300x194.png\" alt=\"ttx3\" width=\"300\" height=\"194\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx3-300x194.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx3-150x97.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx3.png 328w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>4.<\/strong> To add a Form, right click the new Page and pick the Add Form option. Select Blank.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-937\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-218x300.png\" alt=\"ttx4\" width=\"218\" height=\"300\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-218x300.png 218w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-109x150.png 109w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4.png 284w\" sizes=\"(max-width: 218px) 100vw, 218px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-938\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-1.png\" alt=\"ttx4-1\" width=\"240\" height=\"167\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-1.png 240w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx4-1-150x104.png 150w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><\/a><\/p>\n<p><strong>5.<\/strong> Right click the project and select Properties &gt; Advanced. If you have Version 10.06 or later, right click the project &gt; Add Preprocessor &gt; Text to XML Converter and skip to step 9.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-939\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx5-300x238.png\" alt=\"ttx5\" width=\"300\" height=\"238\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx5-300x238.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx5-150x119.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx5.png 340w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>6.<\/strong> From the Advanced tab &gt; Preprocessors section, select New.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx6.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-940\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx6-300x243.png\" alt=\"ttx6\" width=\"300\" height=\"243\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx6-300x243.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx6-150x121.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx6.png 564w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>7.<\/strong> Using the <em>Data file preprocessor<\/em> drop-down menu, select the <em>Text to XML Converter<\/em> option.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx7.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-941\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx7-300x142.png\" alt=\"ttx7\" width=\"300\" height=\"142\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx7-300x142.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx7-150x71.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx7.png 452w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>8.<\/strong> Edit the Preprocessor Properties by selecting <em>Preprocessor Properties<\/em>.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx8.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-942\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx8-300x102.png\" alt=\"ttx8\" width=\"300\" height=\"102\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx8-300x102.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx8-150x51.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx8.png 448w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>9.<\/strong> The Text to XML Converter Properties dialog box displays. Click Show editor while in composer.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx9.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-943\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx9-300x150.png\" alt=\"ttx9\" width=\"300\" height=\"150\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx9-300x150.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx9-150x75.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx9.png 480w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p style=\"padding-left: 60px;\">Options Available:<br \/>\n<em><strong>Configuration File:<\/strong><\/em> The file to configure the initial settings of the Text to XML\u00a0Editor. This is an optional parameter and can be left blank.<\/p>\n<p style=\"padding-left: 60px;\"><em><strong>Stock Configuration File:<\/strong><\/em> A pre-existing file that configures the initial settings of\u00a0the Text to XML Editor.<\/p>\n<hr \/>\n<p style=\"padding-left: 150px;\">\u00a0<strong>NOTE:<\/strong><\/p>\n<p style=\"text-align: left; padding-left: 150px;\">There are three stock options: RedPrairie Ship Confirmation, RedPrairie\u00a0Order Confirmation and blank.<\/p>\n<p style=\"text-align: left; padding-left: 150px;\">The RedPrairie Ship Confirmation structures the initial settings of\u00a0the Text to XML Editor to handle a shipping confirmation generated\u00a0by the RedPrairie Direct Commerce system. The RedPrairie Order\u00a0Confirmation structures the initial settings of the Text to XML Editor\u00a0to handle an order confirmation generated by the RedPrairie Direct\u00a0Commerce system. These files can be modified with the Text to XML\u00a0Editor, but by specifying the basic conditions, they can save the user\u00a0significant time. Note: Default is blank.<\/p>\n<hr \/>\n<p style=\"padding-left: 60px;\"><strong><em>Record delimiter:<\/em><\/strong> Separates groups of fields by specifying the boundaries of the\u00a0data stream. Default is a linefeed (\\n = new line).<\/p>\n<p style=\"padding-left: 60px;\"><em><strong>Character Set:<\/strong> <\/em>All numbers, letters and symbols associated with a given coding\u00a0system.<\/p>\n<p style=\"padding-left: 60px;\"><em><strong>Show editor while in composer:<\/strong><\/em> When checked, displays the Text to XML Editor in\u00a0the eFORMz Composer (Window &gt; Text to XML Editor). Default is unchecked.<\/p>\n<p><strong>10.<\/strong> From the Stock Configuration File drop down, select blank and then select OK.<\/p>\n<p><strong>11.<\/strong> Return to the eFORMz Composer. Right click the Project and select Display Forms\u00a0and Data.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx11.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-944\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx11-215x300.png\" alt=\"ttx11\" width=\"215\" height=\"300\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx11-215x300.png 215w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx11-107x150.png 107w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx11.png 284w\" sizes=\"(max-width: 215px) 100vw, 215px\" \/><\/a><\/p>\n<p><strong>12.<\/strong> Choose the file to convert to XML and click OK.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx12.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-945\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx12-300x211.png\" alt=\"ttx12\" width=\"300\" height=\"211\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx12-300x211.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx12-150x105.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx12.png 516w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>13.<\/strong> The file will display as an XML file format in the Input Data Viewer.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx13.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-958\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx13-300x143.png\" alt=\"ttx13\" width=\"300\" height=\"143\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx13-300x143.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx13-150x71.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx13.png 692w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>14.<\/strong> Once a given file has been converted, it can now be edited and configured for XML.\u00a0To use\u00a0the Text to XML Editor, go to\u00a0to the Window menu and open the Text\u00a0to XML Editor.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-946\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx14-300x151.png\" alt=\"ttx14\" width=\"300\" height=\"151\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx14-300x151.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx14-150x75.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx14.png 340w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><strong>15.<\/strong> The Text to XML Editor opens\u00a0in a new window.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-947\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15-300x169.png\" alt=\"ttx15\" width=\"300\" height=\"169\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15-300x169.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15-1024x579.png 1024w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15-150x84.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2014\/09\/ttx15.png 1328w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<div><img decoding=\"async\" style=\"display: inline; width: 25px;\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2014\/08\/page.png\" alt=\"\" \/><strong style=\"font-size: 18px; padding-left: 15px; margin-top: 25px;\">Related Pages<\/strong><\/div>\n<p><a title=\"Text to XML Editor\" href=\"\/support\/index.php\/text-to-xml-editor-introduction\/\">Text to XML Editor<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When should the preprocessor be used? When print output is formatted in a way that includes variably-sized blocks of data, the preprocessor can be used to enhance output that needs to be independent of the input page\u2019s conversion. Ordinarily, variable blocks are line\u00a0items with multiple detail lines. When should the preprocessor not be used? Already [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,58],"tags":[6],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/933"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=933"}],"version-history":[{"count":27,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/933\/revisions"}],"predecessor-version":[{"id":7989,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/933\/revisions\/7989"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}