{"id":6626,"date":"2018-05-10T19:39:04","date_gmt":"2018-05-10T19:39:04","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6626"},"modified":"2020-07-02T10:57:28","modified_gmt":"2020-07-02T17:57:28","slug":"xml-file-load","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/xml-file-load\/","title":{"rendered":"XML File Load"},"content":{"rendered":"<p>XML File Load fills one or more variables based on XML elements\/attributes in a file either with a constant or variable name. For an example, download the following eFORMz project:\u00a0<strong><a href=\"\/support\/wp-content\/uploads\/2018\/05\/XML_File_Load.zip\">XML_File_Load<\/a><\/strong><\/p>\n<p>In this example, to get the data node in the columns area, the XML file was loaded as data. A variable was added from the subject node and the string was pasted into the parameter.<\/p>\n<p>1) Right click the form and select Add Post-condition procedure &gt;\u00a0XML File Load. The Procedure Properties dialog will display. Select a variable (in this example, Variable1 has the value of &#8220;Printers.xml&#8221;).<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6712\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1.png\" alt=\"\" width=\"353\" height=\"201\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1.png 353w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1-300x171.png 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1-150x85.png 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1-250x142.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-1-316x180.png 316w\" sizes=\"(max-width: 353px) 100vw, 353px\" \/><\/a><\/p>\n<p>2) Select the source of the XML file, either an external .xml file or data from the variable used by the procedure. The Columns field is used for adding data nodes (&#8220;Printers\/Printer@Reference&#8221; in this example). In the Result variables field, select a variable to set with the loaded XML data.\u00a0Select OK to continue.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6714\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2.png\" alt=\"\" width=\"504\" height=\"564\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2.png 504w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2-268x300.png 268w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2-134x150.png 134w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2-250x280.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2-161x180.png 161w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-2-447x500.png 447w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><\/a><\/p>\n<p>3) The results will display in the Variables window.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6715\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3.png\" alt=\"\" width=\"291\" height=\"604\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3.png 291w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3-145x300.png 145w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3-72x150.png 72w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3-250x519.png 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3-87x180.png 87w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2018\/05\/XMLFileLoad-3-241x500.png 241w\" sizes=\"(max-width: 291px) 100vw, 291px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>XML File Load fills one or more variables based on XML elements\/attributes in a file either with a constant or variable name. For an example, download the following eFORMz project:\u00a0XML_File_Load In this example, to get the data node in the columns area, the XML file was loaded as data. A variable was added from the [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[50,132],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6626"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6626"}],"version-history":[{"count":7,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6626\/revisions"}],"predecessor-version":[{"id":8215,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6626\/revisions\/8215"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}