Introduce GML names
[gpl/argeo-suite.git] / org.argeo.app.core / src / org / argeo / app / docbook / DbkUtils.java
index 6c959f43d3269c3e90287e508abb918564db08ed..b0d352bb6049981052c9bffc636cc1339f7ae28c 100644 (file)
@@ -70,7 +70,7 @@ public class DbkUtils {
 
        public static void setTitle(Node node, String txt) {
                Node titleNode = getOrAddDbk(node, DbkType.title);
-               JcrxApi.setXmlValue(node, titleNode, txt);
+               JcrxApi.setXmlValue(titleNode, txt);
        }
 
        public static Node getMetadata(Node infoContainer) {
@@ -103,7 +103,7 @@ public class DbkUtils {
 
        public static Node addParagraph(Node node, String txt) {
                Node p = addDbk(node, para);
-               JcrxApi.setXmlValue(node, p, txt);
+               JcrxApi.setXmlValue(p, txt);
                return p;
        }