Ignore:
Timestamp:
2021-08-16T13:29:24+12:00 (3 years ago)
Author:
kjdon
Message:

if we want to add new namespaces into collection's xsl files, we need to make sure they are added into the main xsl, and then also into expand_gslib xsl, otherwise they will be ignored and left off the page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSXSLT.java

    r33669 r35295  
    6262
    6363        Element main = main_xsl.getDocumentElement();
     64                // If extra_xsl has added namespaces, we need to make sure
     65                // they are copied over into main
     66                GSXML.addMissingNamespaceAttributes(main, extra_xsl);
     67               
    6468        Node insertion_point = null;
    6569        Element last_import = GSXML.getLastElementByTagNameNS(main, GSXML.XSL_NAMESPACE, "import");
Note: See TracChangeset for help on using the changeset viewer.