{"id":6331,"date":"2018-03-01T17:54:45","date_gmt":"2018-03-01T17:54:45","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6331"},"modified":"2020-07-02T10:25:17","modified_gmt":"2020-07-02T17:25:17","slug":"xml-data-node-concatenation-of-child-elements-data","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/xml-data-node-concatenation-of-child-elements-data\/","title":{"rendered":"XML Data Node: Concatenation of child elements&#8217; data"},"content":{"rendered":"<p>Please download the following files to continue along with this guide:<\/p>\n<p><a href=\"\/support\/wp-content\/uploads\/2018\/03\/DataNode.zip\">Download<\/a><\/p>\n<p>ParenetNode.xml<br \/>\nDataNode.efz<\/p>\n<p>This guide will show you how to extract a repeating parent\u2019s nodes children. If you had the following XML shown below, the eFORMz\u2019s data node transfer method Concatenation of child elements\u2019 data would return an array of 3 strings.<\/p>\n<pre>Child1\\nChild2\\n\n\nChild3\\nChild4\\n\n\nChild5\\nChild6\\n<\/pre>\n<pre>&lt;data&gt;\n\n&lt;Parent&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child1&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child2&gt;\n\n&lt;Parent&gt;\n\n&lt;Parent&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child3&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child4&gt;\n\n&lt;Parent&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child5&gt;\n\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;Child6&gt;\n\n&lt;Parent&gt;\n\n&lt;\/data&gt;<\/pre>\n<p>These are the data node settings that are set for creating the array. Please view the DataNode.efz for an example of how this can be used.<\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6332\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate.jpg\" alt=\"\" width=\"478\" height=\"344\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate.jpg 478w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate-300x216.jpg 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate-150x108.jpg 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate-250x180.jpg 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate-417x300.jpg 417w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2018\/03\/DataNodeConcatnate-210x150.jpg 210w\" sizes=\"(max-width: 478px) 100vw, 478px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Please download the following files to continue along with this guide: Download ParenetNode.xml DataNode.efz This guide will show you how to extract a repeating parent\u2019s nodes children. If you had the following XML shown below, the eFORMz\u2019s data node transfer method Concatenation of child elements\u2019 data would return an array of 3 strings. Child1\\nChild2\\n Child3\\nChild4\\n [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[132],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6331"}],"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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6331"}],"version-history":[{"count":11,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6331\/revisions"}],"predecessor-version":[{"id":8198,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6331\/revisions\/8198"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}