Project

General

Profile

« Previous | Next » 

Revision 3739

Get rid of the ant tokens and the relative paths by using the context url and cgi prefix provided by the settings.jsp.
Now the "short form" of urls will work with the iframe skins. sanparks and saeon can also be set as the "default" skin and the paths will resolve correctly.
Note: still an ant token in the .cfg file used with perl...

View differences:

sanparks.xml
1 1
<?xml version="1.0"?>
2
<style-set name="knp">
2
<style-set name="sanparks">
3 3
<!-- general login & search -->
4
  <default-style>@systemidserver@@style-common-path@/ascii-treeview.xsl</default-style>
4
  <default-style>style/common/ascii-treeview.xsl</default-style>
5 5

  
6 6
  <doctype publicid="-//NCEAS//resultset//EN">
7
    <!-- <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/sanparks.xsl</target> -->
8
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/resultset.xsl</target>
7
    <!-- <target publicid="-//W3C//HTML//EN">style/skins/sanparks/sanparks.xsl</target> -->
8
    <target publicid="-//W3C//HTML//EN">style/common/resultset.xsl</target>
9 9
  </doctype>
10 10

  
11 11
  <doctype publicid="-//NCEAS//login//EN">
12
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/knp-login.xsl</target>
12
    <target publicid="-//W3C//HTML//EN">style/skins/sanparks/knp-login.xsl</target>
13 13
  </doctype>
14 14
  <doctype publicid="-//NCEAS//unauth_login//EN">
15
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/knp-login.xsl</target>
15
    <target publicid="-//W3C//HTML//EN">style/skins/sanparks/knp-login.xsl</target>
16 16
  </doctype>
17 17

  
18 18
<!--
19 19
    ARE THESE STILL NEEDED????????????
20 20

  
21 21
  <doctype publicid="-//NCEAS//eml-generic//EN">
22
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/generic-morpho.xsl</target>
22
    <target publicid="-//W3C//HTML//EN">style/common/generic-morpho.xsl</target>
23 23
  </doctype>
24 24
-->
25 25

  
......
28 28
<!-- NOTE these settings are unchanged from the previous version - only the xsl 
29 29
     filename has changed from "eml-dataset-display.xsl" to "eml-dataset-2.0.0beta4.xsl" -->
30 30
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.1">
31
    <!-- <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/sanparks.xsl</target> -->
32
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.1/eml.xsl</target>
31
    <!-- <target publicid="-//W3C//HTML//EN">style/skins/sanparks/sanparks.xsl</target> -->
32
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.1/eml.xsl</target>
33 33
  </doctype>
34 34
  <doctype publicid="eml://ecoinformatics.org/eml-2.0.0">
35
    <!-- <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/sanparks.xsl</target> -->
36
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.1/eml.xsl</target>
35
    <!-- <target publicid="-//W3C//HTML//EN">style/skins/sanparks/sanparks.xsl</target> -->
36
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.1/eml.xsl</target>
37 37
  </doctype>
38 38
  <doctype publicid="-//NCEAS//eml-dataset//EN">
39
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
39
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
40 40
  </doctype>
41 41
  <doctype publicid="-//NCEAS//eml-dataset-2.0//EN">
42
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
42
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
43 43
  </doctype>
44 44
  <doctype publicid="-//NCEAS//eml-resource//EN">
45
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
45
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
46 46
  </doctype>
47 47
  <doctype publicid="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN">
48
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
48
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta4/eml-dataset-2.0.0beta4.xsl</target>
49 49
  </doctype>
50 50
<!-- beta6 modules -->
51 51
  <doctype publicid="-//ecoinformatics.org//eml-access-2.0.0beta6//EN">
52
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-access-2.0.0beta6.xsl</target>
52
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-access-2.0.0beta6.xsl</target>
53 53
  </doctype>
54 54
  <doctype publicid="-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN">
55
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-attribute-2.0.0beta6.xsl</target>
55
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-attribute-2.0.0beta6.xsl</target>
56 56
  </doctype>
57 57
  <doctype publicid="-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN">
58
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-constraint-2.0.0beta6.xsl</target>
58
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-constraint-2.0.0beta6.xsl</target>
59 59
  </doctype>
60 60
  <doctype publicid="-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN">
61
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-coverage-2.0.0beta6.xsl</target>
61
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-coverage-2.0.0beta6.xsl</target>
62 62
  </doctype>
63 63
  <doctype publicid="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN">
64
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-dataset-2.0.0beta6.xsl</target>
64
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-dataset-2.0.0beta6.xsl</target>
65 65
  </doctype>
66 66
  <doctype publicid="-//ecoinformatics.org//eml-entity-2.0.0beta6//EN">
67
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-entity-2.0.0beta6.xsl</target>
67
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-entity-2.0.0beta6.xsl</target>
68 68
  </doctype>
69 69
  <doctype publicid="-//ecoinformatics.org//eml-literature-2.0.0beta6//EN">
70
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-literature-2.0.0beta6.xsl</target>
70
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-literature-2.0.0beta6.xsl</target>
71 71
  </doctype>
72 72
  <doctype publicid="-//ecoinformatics.org//eml-physical-2.0.0beta6//EN">
73
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-physical-2.0.0beta6.xsl</target>
73
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-physical-2.0.0beta6.xsl</target>
74 74
  </doctype>
75 75
  <doctype publicid="-//ecoinformatics.org//eml-project-2.0.0beta6//EN">
76
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-project-2.0.0beta6.xsl</target>
76
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-project-2.0.0beta6.xsl</target>
77 77
  </doctype>
78 78
  <doctype publicid="-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN">
79
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-protocol-2.0.0beta6.xsl</target>
79
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-protocol-2.0.0beta6.xsl</target>
80 80
  </doctype>
81 81
  <doctype publicid="-//ecoinformatics.org//eml-software-2.0.0beta6//EN">
82
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/eml-2.0.0beta6/eml-software-2.0.0beta6.xsl</target>
82
    <target publicid="-//W3C//HTML//EN">style/common/eml-2.0.0beta6/eml-software-2.0.0beta6.xsl</target>
83 83
  </doctype>
84 84

  
85 85
  <!-- NBII/FGDC styles -->
86 86
  <doctype publicid="metadata">
87
    <!--target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/fgdc/nbii-metacat.xsl</target-->
88
    <!-- <target publicid="-//W3C//HTML//EN">@systemidserver@@style-skins-path@/sanparks/sanparks.xsl</target> -->
89
    <target publicid="-//W3C//HTML//EN">@systemidserver@@style-common-path@/fgdc/fgdc_1.xsl</target>
87
    <!--target publicid="-//W3C//HTML//EN">style/common/fgdc/nbii-metacat.xsl</target-->
88
    <!-- <target publicid="-//W3C//HTML//EN">style/skins/sanparks/sanparks.xsl</target> -->
89
    <target publicid="-//W3C//HTML//EN">style/common/fgdc/fgdc_1.xsl</target>
90 90
  </doctype>
91 91
</style-set>

Also available in: Unified diff