{"id":4639,"date":"2017-02-24T18:33:56","date_gmt":"2017-02-24T18:33:56","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=4639"},"modified":"2017-12-15T00:05:02","modified_gmt":"2017-12-15T00:05:02","slug":"count-the-number-of-lines-in-an-xml-array-variable","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/count-the-number-of-lines-in-an-xml-array-variable\/","title":{"rendered":"Count the Number of Elements in an XML Variable"},"content":{"rendered":"<p>Complete these steps to count the number of lines in an XML array variable:<\/p>\n<ol>\n<li>Create a variable to hold the value.<\/li>\n<li>Create a LoadFromXML procedure by right clicking the form &gt; Add Post-condition Procedure &gt; Load Variable from XML Node.<\/li>\n<li>Name the procedure, and in the Use variable field, select the variable from Step 1. Click OK.<\/li>\n<li>The Load from XML window opens. In the Source data area, click From variable and select the variable that contains the XML.<\/li>\n<li>In the Source node area and the Data Node field, specify the data node above the node you want to count. For example, root\/Orders\/.<\/li>\n<li>In the Transfer method field, select Count of child elements.<\/li>\n<li>In the Node Filter field, specify the node to count. For example, Items.<\/li>\n<li>In the Result area, select the variable from Step 1. Click OK.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-4640 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-300x260.jpg\" alt=\"\" width=\"300\" height=\"260\" srcset=\"https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-300x260.jpg 300w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-150x130.jpg 150w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-250x217.jpg 250w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-207x180.jpg 207w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture-346x300.jpg 346w, https:\/\/c002.minisoft.com\/support\/wp-content\/uploads\/2017\/02\/Capture.jpg 499w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Verify the results and save your updated project.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Complete these steps to count the number of lines in an XML array variable: Create a variable to hold the value. Create a LoadFromXML procedure by right clicking the form &gt; Add Post-condition Procedure &gt; Load Variable from XML Node. Name the procedure, and in the Use variable field, select the variable from Step 1. [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[362],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4639"}],"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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=4639"}],"version-history":[{"count":2,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4639\/revisions"}],"predecessor-version":[{"id":5993,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/4639\/revisions\/5993"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=4639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=4639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=4639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}