add xpath-like string support