[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xpath query failing
> I'm afraid this is the number 1 xpath gotcha. Your nlog element is in a namespace and you are searching for nlog elements in no namespace. > > The framework in which you are executing the XPath expression should give you some means of binding a prefix to the namespace, for example > > setNamespaceBinding("n", "http://www.nlog-project.org/schemas/NLog.xsd") > > You can then use the path expression "/n:nlog/@throwExceptions" Hi Michael, Looks like I am out of luck, according to https://sourceforge.net/p/wix/bugs/2384/ the WIX toolset neglects to implement this functionality. There goes a day writing a custom action to do this the hard way:( Thanks for the confirmation and insight! jlc
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|