Webharvest If and null test
问题 I'm trying to make my program check the return of an xpath expression and if it is null it should try a different one, how do I do this? I have tried all the examples on the website and the blank single quotes will not compile. <var-def name="googleResults"> <xpath expression="//div[@id='center_col']//div[@id='search']//div[@id='ires']//ol/li/div//b/div/text()"> <html-to-xml> <http url="http://google.com/shopping?q=asus laptops&hl=en"/> </html-to-xml> </xpath> </var-def> <var-def name=