Hacker News new | ask | show | jobs
by trmsw 3431 days ago
XPath 2 supports conditionals so you could put all that in a single select expression.