I have a giant XML file in which I would like to update a single value. Is there a way to write an XSLT file which will produce an exact copy of the existing XML file with a simple change?
For instance, let’s say I have the following XML and that I want to change the position number of employee Martin to 100. How can I do this?
<?xml version="1.0" encoding="utf-8"?>
<Employees>
<!-- ... -->
<Employee name="Martin">
<Position number="50" />
</Employee>
<!-- ... -->
</Employees>
1 Answer