Hi guys,
I'm a newbie in XSLT & XPath so please forgive me for this simple question.
I have the following XML file:
<?xml version="1.0"?>
<Configuration serviceName="Just Service" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
<Page name="Books">
<Instances count="5" />
<ConfigurationSettings>
<Setting name="index" value="true" />
<Setting name="number" value="value1" />
<Setting name="bookstorage" value="value2"/>
</ConfigurationSettings>
</Page>
<Page name="Magazines">
<Instances count="7" />
<ConfigurationSettings>
<Setting name="index" value="false" />
<Setting name="number" value="value1" />
<Setting name="magazinestorage" value="value3"/>
</ConfigurationSettings>
</Page>
</Configuration>
All I want is to change the following values ...
value1 - for number (in two places); value2 - for bookstorage; value3 - for magazinestorage;
... and to remain all the other content unchanged.
For this, I want to use msxsl.exe (Microsoft command line utility). Could you please give me a hint with XSLT style sheet example? How to process initial XML file with XSLT in the most effective way?
Thanks, Rac