+ // Work around bug in ODK Collect not supporting paths
+ // path = path.substring(0, path.length() - ".xml".length());
+ // Node target = file.getSession().getNode(path);
+ String uuid = path.substring(1, path.length() - ".xml".length());
+ Node target = file.getSession().getNodeByIdentifier(uuid);