Changeset 4243
- Timestamp:
- 2003-05-08T12:12:29+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSXML.java
r4145 r4243 62 62 public static final String SITE_NAME_ELEM = "localSiteName"; 63 63 public static final String SITE_HTTP_ADDRESS_ELEM = "httpAddress"; 64 64 public static final String ACTION_ELEM = "action"; 65 public static final String SUBACTION_ELEM = "subaction"; 66 65 67 // add on to another elem type to get a list of that type 66 68 public static final String LIST_MODIFIER = "List"; … … 380 382 } 381 383 382 384 public static void copyAllChildren(Element to, Element from) { 385 386 Document to_doc = to.getOwnerDocument(); 387 Node child = from.getFirstChild(); 388 while (child != null) { 389 to.appendChild(to_doc.importNode(child, true)); 390 child = child.getNextSibling(); 391 } 392 } 383 393 /** returns a basic request message */ 384 394 public static Element createBasicRequest(Document owner,
Note:
See TracChangeset
for help on using the changeset viewer.