Ignore:
Timestamp:
2010-11-22T17:32:16+13:00 (13 years ago)
Author:
sjb48
Message:

Continued work on XHTML parsing for format statement saving. Found js code for ensuring XHTML (innerXHTML). Removed a few unneccessary bits of code from default servlet that were lingering around from when we first started playing with format statements.

File:
1 edited

Legend:

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

    r23333 r23336  
    22<xsl:stylesheet version="1.0"
    33    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     4
    45    xmlns:java="http://xml.apache.org/xslt/java"
    56    xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
     
    2324
    2425    <!-- the output format for this layout is html -->
    25     <xsl:output method="html" omit-xml-declaration="yes"/> 
     26    <!-- <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes" omit-xml-declaration="yes"/> -->
     27    <xsl:output method="html" omit-xml-declaration="yes"/>
    2628
    2729    <!-- the main layout is defined here -->
     
    130132<!-- Sam2's div code -->
    131133
     134    <script type="text/javascript" src="interfaces/oran/js/innerxhtml.js"><xsl:text> </xsl:text></script>
    132135    <script type="text/javascript" src="interfaces/oran/js/gui_div.js"><xsl:text> </xsl:text></script>
    133136   
     
    177180
    178181    <div id="formatStatement">
    179 
     182        <div id="formatRoot">
     183   
    180184    <xsl:call-template name="xml-to-gui">
    181185        <xsl:with-param name="node-set" select="//format"/> <!-- [@type='browse']"/>  -->
    182186        <xsl:with-param name="metadataSets" select="//metadataSetList"/>
    183187    </xsl:call-template>
    184 
     188        </div>
    185189    </div>
    186190    </td>   
Note: See TracChangeset for help on using the changeset viewer.