fixed a bug with id

This commit is contained in:
Michele Artini 2024-09-25 09:38:50 +02:00
parent b35d046fd2
commit fa2532db30
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class OsfPreprintsIterator implements Iterator<String> {
final Element n = (Element) ((Element) o).detach(); final Element n = (Element) ((Element) o).detach();
final Element group = DocumentHelper.createElement("group"); final Element group = DocumentHelper.createElement("group");
group.addAttribute("id", n.valueOf(".//data/id")); group.addAttribute("id", n.valueOf("./id"));
group.addElement("preprint").add(n); group.addElement("preprint").add(n);