I want to leverage SIF with the Set-Xml task to update the value in the datafolder.config patch file. But so far it seems I am not succeeding in finding the correct XPath due to the XML NS in the file.
I am using the following XPath expression:
For your reference, this is the datafolder.config file shipped with Sitecore 8.2 U7:
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <sc.variable name="dataFolder"> <patch:attribute name="value">/data</patch:attribute> </sc.variable> </sitecore> </configuration>
Is it possible to set the value using SIF and an XPath expression? And if so, which XPath might do the trick? Any help is appreciated.