- Timestamp:
- 2004-11-22T15:05:37+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS3MGRetrieve.java
r8439 r8616 182 182 doc_content = "this is the content for section hash id "+ doc_id+", mg doc num "+doc_int+"\n"; 183 183 } 184 184 185 //ystem.out.println("Doc content: " + doc_content + "|"); 185 186 //ystem.out.println("Doc ID: " + doc_id); … … 192 193 doc.setAttribute(GSXML.NODE_ID_ATT, doc_id); 193 194 GSXML.addDocText(this.doc, doc, doc_content); 195 Element nodeContent = (Element)GSXML.getChildByTagName(doc, "nodeContent"); 196 Element file_elem = this.doc.createElement("file"); 197 file_elem.setAttribute("mimeType", "image/jpeg"); 198 file_elem.setAttribute("href", "import/meinahole.jpg"); 199 nodeContent.appendChild(file_elem); 194 200 doc_list.appendChild(doc); 195 201 }
Note:
See TracChangeset
for help on using the changeset viewer.