Example #1
0
 public boolean exists(String resourceNameOrId) {
   Fragment f = getAsXml();
   return f.elementExists(
       format(
           "/node()/*[local-name(.) = 'list-items']/node()[*[local-name(.) = 'task-path'] = '%s']",
           resourceNameOrId));
 }