Changeset 16944


Ignore:
Timestamp:
2008-08-21T14:02:40+12:00 (16 years ago)
Author:
kjdon
Message:

add xmlns:xsl into the page element as well, in case we are doing o=xml and the format statement has xsl elements

File:
1 edited

Legend:

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

    r16688 r16944  
    196196    Element page = this.doc.createElement(GSXML.PAGE_ELEM);
    197197    page.setAttribute(GSXML.LANG_ATT, request.getAttribute(GSXML.LANG_ATT));
     198    // just in case these namespaces end up in the page and we want to display the XML
    198199    page.setAttribute("xmlns:gsf","http://www.greenstone.org/greenstone3/schema/ConfigFormat");
     200    page.setAttribute("xmlns:xsl", "http://www.w3.org/1999/XSL/Transform");
    199201   
    200202    //logger.info(a+" mesa=" + this.converter.getPrettyString(message));
Note: See TracChangeset for help on using the changeset viewer.