web commit by JoshTriplett: XPath conditionals?