So I’m stuck using Xpath 1.0 and I can’t seem to get max working…. here’s my Xpath query:
//m:REPORT_DATA[m:DATA_ITEM = 'LMP_PRC' and //m:INTERVAL_NUM[not(//INTERVAL_NUM > m:INTERVAL_NUM)]]/m:VALUE/text()
I am trying to get the find the value for the highest interval number with data_item=LMP_PRC The only part that’s not working is the “max” which comes after the “and”.
Thanks
Does this return the expected value? For the second sample, it returns 27.47472.