0

How to return NA for no result

Hello,
I am using YQL to parse multiple fields from HTML file. My YQL looks like:

Select content from html where url="http://somedomain/somepage.html" and xpath='//field1 | //field2 | //field3'

The query works fine but not all fields have values all the time. I would like the YQL to return me NULL or NA for fields that are not available. At the moment the query doesnt return me anything for fields that are not available. Any suggestions?

Thanks
Ashwini

by
0 Replies

Recent Posts

in YQL