I use the following to extract two values using xidel -e
.
'//input[@name="qid"]/@value[1]'
"//span[@id='trueFinalResultCount']"
But I'd like to put the two results into a TSV format.
result1<TAB>result2
Could anybody show me how to combine the above two expressions? (I tried the following. But it doesn't work.)
'join((//input[@name="qid"]/@value[1], //span[@id='trueFinalResultCount'][1]), x:cps(9))'