I am trying to get a node value from SelectSingleNode() by passing a xpath query but keep getting null.
XmlDocument doc = new XmlDocument(); doc.Load(@"c:\temp\MySource.wxs"); XmlElement root = doc.DocumentElement; root.SelectSingleNode("produ...@manufacturer]"); ---- returns null Can some one show an example to retrieve nodes from a .wxs file? doc.LoadXml(filename) throws an exception due to encoding - UTF-8. thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Question-on-parsing-wix-file-using-XmlDocument-tp5819875p5819875.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users