Project

General

Profile

« Previous | Next » 

Revision 431

Added by Matt Jones about 24 years ago

Modified MetaCatServlet to use the new DocumentImpl.toXml() method for
efficiency of reading documents. See bugzilla bug #111 for an explanation.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
560 560
      if (qformat.equals("xml")) {
561 561
        // set content type and other response header fields first
562 562
        response.setContentType("text/xml");
563
        out.println(xmldoc);
563
        xmldoc.toXml(out);
564
        //out.println(xmldoc);
564 565
      } else if (qformat.equals("html")) {
565 566

  
566 567
        // Look up the document type

Also available in: Unified diff