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) {
public static Node addParagraph(Node node, String txt) {
Node p = addDbk(node, para);
- JcrxApi.setXmlValue(node, p, txt);
+ JcrxApi.setXmlValue(p, txt);
return p;
}