Changeset 4995


Ignore:
Timestamp:
2003-07-21T16:25:30+12:00 (21 years ago)
Author:
kjdon
Message:

fixed a bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/core/NZDLReceptionist.java

    r4258 r4995  
    2222   
    2323    protected void addExtraInfo(Element page) {
    24     System.out.println("the  page before adding extra info is");
    25     System.out.println(this.converter.getPrettyString(page));
     24    ///ystem.out.println("the  page before adding extra info is");
     25    ///ystem.out.println(this.converter.getPrettyString(page));
    2626
    2727    super.addExtraInfo(page);
     
    4747        return; // no browsing stuff
    4848    }
     49       
    4950    String lang = page.getAttribute(GSXML.LANG_ATT);
    5051    // find the list of classifiers
     
    5758    String path = GSPath.appendLink(GSXML.RESPONSE_ELEM, GSXML.SERVICE_ELEM);
    5859    Element classifier_service_info = (Element)GSXML.getNodeByPath(info_response, path);
    59     // add all the children into the classifier service element
    60     GSXML.copyAllChildren(classifier_service, classifier_service_info);
    61     System.out.println("the final page before transforming is");
    62     System.out.println(this.converter.getPrettyString(page));
     60   
     61    service_list.replaceChild(this.doc.importNode(classifier_service_info, true), classifier_service);
     62    ///ystem.out.println("the final page before transforming is");
     63    ///ystem.out.println(this.converter.getPrettyString(page));
    6364    return;
    6465    }
Note: See TracChangeset for help on using the changeset viewer.