Ignore:
Timestamp:
2017-02-20T11:35:48+13:00 (7 years ago)
Author:
kjdon
Message:

preProcess.xml lists some more namespaces that were not defined here. was getting xmlns attributes in hte output html tag. this seems to be the place that is providing this list to the output, so all namespaces should be declared here so we can remove them from the output. hope this doesn't break anything, eg if we are going to an intermediate XSL form where the namespaces are needed!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl

    r31380 r31432  
    66  xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
    77  xmlns:util="http://org.greenstone.gsdl3.util.XSLTUtil"
    8   exclude-result-prefixes="util xalan gslib gsf xslt">
    9 
     8  xmlns:gs3="http://www.greenstone.org/gs3"
     9  xmlns:xlink="http://www.w3.org/1999/xlink"
     10  xmlns:gsvar="http://www.greenstone.org/skinning-var"
     11   exclude-result-prefixes="util xalan gslib gsf xslt gs3 gsvar xlink">
     12<!-- all namespaces used by greenstone should be defined here and listed in exclude-result-prefixes, including those in core/transform/preProcess.xsl, otherwise xmlns attributes will be included in the html output -->
    1013
    1114  <!-- force lower priority on xsl:output, so other files like rss.xsl can override with their own xsl:output stmt
Note: See TracChangeset for help on using the changeset viewer.