{"id":563,"date":"2013-06-16T12:36:11","date_gmt":"2013-06-16T20:36:11","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=563"},"modified":"2013-06-16T12:36:11","modified_gmt":"2013-06-16T20:36:11","slug":"edit-multiple-xml-files-find-select-replace","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2013\/06\/16\/edit-multiple-xml-files-find-select-replace\/","title":{"rendered":"Edit multiple XML files &#8212; find, select, replace"},"content":{"rendered":"<p>Search for what attribute name ? watcher, instigator, etc.<br \/>\n&#8212;&#8220;What attribute&#8221; predetermined from XML file<br \/>\nSearch for what attribute value?<br \/>\n&#8212;&#8220;What value&#8221; predetermined from folder list<br \/>\n<a href=\"http:\/\/www.w3schools.com\/dom\/dom_nodetype.asp\">http:\/\/www.w3schools.com\/dom\/dom_nodetype.asp<\/a><br \/>\n&#8212;&#8212;&#8212;&#8212;-<br \/>\nLoop through all files<br \/>\nsearch for string<br \/>\nif string exits then search for &#8220;initial comment&#8221;<br \/>\nsave file name and &#8220;initial comment&#8221; in array<br \/>\nwhen finished looping display array as selectable<br \/>\nadd ability to &#8220;select all&#8221;<br \/>\nselect files to have string replaced<br \/>\nreplace string in all selected files<\/p>\n<p>http:\/\/www.autoitscript.com\/forum\/topic\/19848-xml-dom-wrapper-com\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Search for what attribute name ? watcher, instigator, etc. &#8212;&#8220;What attribute&#8221; predetermined from XML file Search for what attribute value? &#8212;&#8220;What value&#8221; predetermined from folder list http:\/\/www.w3schools.com\/dom\/dom_nodetype.asp &#8212;&#8212;&#8212;&#8212;- Loop through all files search for string if string exits then search for &#8220;initial comment&#8221; save file name and &#8220;initial comment&#8221; in array when finished looping display [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-563","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=563"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/563\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}