diff --git a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/osf/OsfPreprintsIterator.java b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/osf/OsfPreprintsIterator.java index 292e1c322..de18ef37f 100644 --- a/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/osf/OsfPreprintsIterator.java +++ b/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/osf/OsfPreprintsIterator.java @@ -85,7 +85,7 @@ public class OsfPreprintsIterator implements Iterator { final Element n = (Element) ((Element) o).detach(); final Element group = DocumentHelper.createElement("group"); - group.addAttribute("id", n.valueOf(".//data/id")); + group.addAttribute("id", n.valueOf("./id")); group.addElement("preprint").add(n);