Ignore:
Timestamp:
2010-12-07T17:05:38+13:00 (13 years ago)
Author:
sjb48
Message:

FormatAction constructs message containing format string that is sent to the collection. The message knows the service, and if it is the browse service, then it also knows the classifer list number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/formatString.xsl

    r23360 r23405  
    1 <?xml version="1.0" encoding="ISO-8859-1"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<xsl:stylesheet version="1.0"
    33  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4   xmlns:java="http://xml.apache.org/xslt/java"
    5   extension-element-prefixes="java">
     4  xmlns:xslt="http://www.w3.org/1999/XSL/Transform"
     5  xmlns:gslib="http://www.greenstone.org/XSL/Library"
     6  xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
     7  xmlns:util="http://org.greenstone.gsdl3.util.XSLTUtil"
     8  exclude-result-prefixes="util gslib gsf xslt">
     9
     10  <!-- extension-element-prefixes="java"> -->
    611
    712  <xsl:strip-space elements="*"/>
     
    241246  <!-- Main page generation -->
    242247
    243   <xsl:template match="page">
    244     <html>
     248  <xsl:template match="/">
     249    <!-- <html>
    245250      <head>
    246251    <title>
     
    249254      </head>
    250255      <body>
    251         <h2> This should be the format string (unmodified and html version) </h2>
     256        <h2> This should be the format string (unmodified and html version) </h2> -->
    252257        <!-- <xsl:value-of select="/page/pageResponse" disable-output-escaping="yes"/> -->
    253258        <xsl:call-template name="xml">
    254             <xsl:with-param name="fmt" select="/page/pageResponse"/>
     259            <xsl:with-param name="fmt" select="."/>
    255260        </xsl:call-template><xsl:text> </xsl:text>
    256261        <!-- <xsl:apply-templates select="/page/pageResponse" mode="xml"/> -->
    257       </body>
    258     </html>
    259   </xsl:template>
    260  
     262      <!-- </body>
     263    </html> -->
     264  </xsl:template>
     265 
     266  <!--
    261267  <xsl:template name="pageTitle">
    262268    <xsl:value-of select="java:org.greenstone.gsdl3.util.XSLTUtil.getInterfaceText($interface_name, /page/@lang, 'gsdl')"/>
    263   </xsl:template>
     269  </xsl:template> -->
    264270 
    265271</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.