Project

General

Profile

« Previous | Next » 

Revision 7654

enable solr results rendering on the server side for the NCEAS skin (does not include UI for generating the query yet). https://projects.ecoinformatics.org/ecoinfo/issues/5917

View differences:

lib/style/skins/nceas/nceas.xml
3 3
<!-- general login & search -->
4 4
  <default-style>/style/common/ascii-treeview.xsl</default-style>
5 5

  
6
	<!-- rendered SOLR results -->
7
	<doctype publicid="solr">
8
		<target publicid="-//W3C//HTML//EN">/style/skins/nceas/nceas.xsl</target>
9
	</doctype>
10

  
6 11
  <doctype publicid="-//NCEAS//resultset//EN">
7 12
    <target publicid="-//W3C//HTML//EN">/style/skins/nceas/nceas.xsl</target>
8 13
  </doctype>
......
13 18
    <!-- <target publicid="-//W3C//HTML//EN">/style/common/fgdc/fgdc_1.xsl</target>-->
14 19
  </doctype>
15 20

  
16
<!--
17
    ARE THESE STILL NEEDED????????????
18

  
19 21
  <doctype publicid="-//NCEAS//login//EN">
20
    <target publicid="-//W3C//HTML//EN">/style/common/login.xsl</target>
21
  </doctype>
22

  
23
  <doctype publicid="-//NCEAS//eml-generic//EN">
24
    <target publicid="-//W3C//HTML//EN">/style/common/generic-morpho.xsl</target>
25
  </doctype>
26
-->
27
  <doctype publicid="-//NCEAS//login//EN">
28 22
    <target publicid="-//W3C//HTML//EN">/style/skins/nceas/nceas-login.xsl</target>
29 23
  </doctype>
30 24

  
lib/style/skins/nceas/nceas.xsl
32 32
                xmlns:eml="eml://ecoinformatics.org/eml-2.0.1" 
33 33
	            version="1.0">
34 34
    <xsl:import href="../../common/resultset-table.xsl"/>
35
    <xsl:import href="../../common/resultset-table-solr.xsl"/>
35 36
    <!-- xsl:import href="../../common/eml-2.0.1/emlroot.xsl"/ -->
36 37
    <xsl:import href="../../common/eml-2/emlroot.xsl"/>
37 38
    <xsl:import href="../../common/fgdc/fgdc-root.xsl"/>
......
53 54
                            <xsl:call-template name="emldocument"/>
54 55
                        </xsl:if>
55 56
                        
57
                        <xsl:if test="*[local-name()='response']">     	
58
                            <xsl:call-template name="resultstablesolr"/>
59
                        </xsl:if>
60
                        
56 61
                        <xsl:if test="*[local-name()='resultset']">     	
57 62
                            <xsl:call-template name="resultstable"/>
58 63
                        </xsl:if>

Also available in: Unified diff