Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 486 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 486 Bytes

XMLValueReplacer

Replaces values in an XML with the nodes XPath with dashes instead of slashes Replaces values in an XML with the corresponding nodes XPath

Before

<root>
  <node>Lorem ipsum</node>
  <node>Lorem ipsum</node>
  <foot>End of file</foot>
 </root>

After

<root>
  <node>[prefix]root-node1</node>
  <node>[prefix]root-node2</node>
  <foot>[prefix]root-foot</foot>
 </root>

Creates a template.xml and replacementvalues.txt file after successful run.