Ignore:
Timestamp:
2008-07-17T23:31:05+12:00 (16 years ago)
Author:
davidb
Message:

More careful declaration of XSLT header information for produces XML, not HTML output. This is needed for the JAVA code that then takes some transformed code, parses it back in to a DOM (needs to be XML) and then does some final adjustments. When output was HTML, empty elements such as <script ../> could loose their closing />.

Location:
greenstone3/trunk/web/ui/skins/oran/xsl
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/ui/skins/oran/xsl/collectBrowse.xsl

    r16372 r16447  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gslib="http://www.greenstone.org/skinning" xmlns:xalan="http://xml.apache.org/xalan">
     3<xsl:stylesheet version="1.0"
     4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/skinning"
     6  xmlns:xalan="http://xml.apache.org/xalan">
    47
    5 <xsl:output method="html"/> 
     8<xsl:import href="./util.xsl"/>
    69
    710<xsl:template match="/">
  • greenstone3/trunk/web/ui/skins/oran/xsl/collectDocument.xsl

    r16372 r16447  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
    2 
    3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gslib="http://www.greenstone.org/skinning"  xmlns:xalan="http://xml.apache.org/xalan" exclude-result-prefixes="xalan">
     1<?xml version="1.0" encoding="UTF-8"?>
     2
     3<xsl:stylesheet version="1.0"
     4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/skinning"
     6  xmlns:xalan="http://xml.apache.org/xalan">
    47
    58<xsl:import href="./util.xsl"/>
    6 
    7 <xsl:output method="html"/> 
    89
    910<xsl:template match="/">
  • greenstone3/trunk/web/ui/skins/oran/xsl/collectDocument2.xsl

    r16372 r16447  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
     2
     3<xsl:stylesheet version="1.0"
     4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/skinning"
     6  xmlns:xalan="http://xml.apache.org/xalan" exclude-result-prefixes="xalan">
     7
     8<xsl:import href="./util.xsl"/>
    29
    310<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan" exclude-result-prefixes="xalan">
  • greenstone3/trunk/web/ui/skins/oran/xsl/search.xsl

    r16315 r16447  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    33<xsl:stylesheet version="1.0"
    4 xmlns:gslib="http://www.greenstone.org/skinning"
    5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/skinning">
    66
    77<xsl:import href="./util.xsl"/>
    8 <xsl:output method="html"/>
    9  
    108
    119<xsl:template match="/">
  • greenstone3/trunk/web/ui/skins/oran/xsl/siteHome.xsl

    r16409 r16447  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22
    3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gslib="http://www.greenstone.org/skinning">
     3<xsl:stylesheet version="1.0"
     4  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/skinning">
     6
    47<xsl:import href="./util.xsl"/>
    5 <xsl:output method="html"/> 
    68
    79<xsl:template match="/">
Note: See TracChangeset for help on using the changeset viewer.