Skip to content

Replaces values in an XML with the corresponding nodes XPath

License

Notifications You must be signed in to change notification settings

Garbageous/XMLValueReplacer

Repository files navigation

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.

About

Replaces values in an XML with the corresponding nodes XPath

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages