I've got some xml files like below:
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup>
<Book Name="Learn Powershell" />
<Book Name=".net Programming" />
<Book Name="C# Programming" />
</ItemGroup>
<!--
my comments
-->
</Project>
I wish to use powershell to changes these xml files: select the comment tags and change "my comments" into "modified".
How to do it using XPath or .net xml utility? Thanks a lot.