xml - XPaths and <? ?> -


I have a WIX file that I need to use MSBuild, it starts like this:

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Wix xmlns = "http://schemas.microsoft.com/wix/2006/wi" xmlns: iis = "http://schemas.microsoft.com/wix/IIsExtension" & gt; & Lt ;? - Deleted param ... - & gt; & Lt ;? Defined ProductVersion = "1.0.1"? & Gt; & Lt ;? - Deleted param ... - & gt; & Lt; Product ID = '$ (var.ProductCode)' upgrade code = '$ (var.UpgradeCode)' name = '$ (var.AppName)' language = "1033" version = '$ (var.ProductVersion)' creator = '$ (Var.manufacturer)' & gt; & Lt; Package ID = '$ (var.PackageCode)' InstallerVersion = "200" Compressed = "Yes" /> & Lt ;? - The rest of the WIX XML file ...-- & gt;  

My problem is that I do not know that XPath is & lt; What will be the product version = "1.0.1"? & Gt; Is there any way to reference through XPTH, so that I can use the SDC Set Value MSBuild function to replace it? It's not a node (I think) so I'm not sure how to refer it.

Wikipedia

It looks like / wix / processing-instruction ('Define') can work for an XPath (whether MSBuild recognizes, I do not know).

By plugging in it, I was able to click around it and select that element to test various elements.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -