greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16944

Show
Ignore:
Timestamp:
2008-08-21 14:02:40 (5 months 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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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));