Trying to replace XML element element using XDT and XPath locator
问题 Hi I am trying to replace the <cron-expression> using VS2012 XDT by using the following transform on a quartz.net job description file. I have tested the XPath locator using an online tester and it returns 'what i think i need'. Any help is appreciated. <schedule> <trigger> <cron xdt:Locator="XPath(//job-scheduling-data/schedule/trigger/cron[name='crontriggername2'])" > <cron-expression xdt:Transform="Replace">***some data***</cron-expression> </cron> </trigger> </schedule> for the sample XML