Revision 3789
Added by ben leinfelder over 16 years ago
lib/style/skins/knb/knb_fgdc.xsl | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
3 |
|
|
4 |
<xsl:import href="../../common/fgdc/fgdc-root.xsl"/> |
|
5 |
|
|
6 |
<xsl:output indent="yes" method="html"/> |
|
7 |
<xsl:param name="docid"/> |
|
8 |
<xsl:param name="qformat"/> |
|
9 |
|
|
10 |
<xsl:param name="contextURL"/> |
|
11 |
<xsl:param name="cgi-prefix"/> |
|
12 |
|
|
13 |
<!-- stylesheets that include fgdc-root.xsl can enable/disable editing --> |
|
14 |
<xsl:param name="enableFGDCediting">false</xsl:param> |
|
15 |
|
|
16 |
<xsl:template match="/"> |
|
17 |
<html> |
|
18 |
<head> |
|
19 |
<link rel="stylesheet" type="text/css" href="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" media="all"/> |
|
20 |
<script language="JavaScript" type="text/JavaScript" src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js"/> |
|
21 |
<script language="JavaScript" type="text/JavaScript" src="{$contextURL}/style/common/branding.js"/> |
|
22 |
<title>FGDC Identification and Metacat Data Package Information</title> |
|
23 |
</head> |
|
24 |
<body> |
|
25 |
<script language="JavaScript"> |
|
26 |
insertTemplateOpening("<xsl:value-of select="$contextURL"/>"); |
|
27 |
</script> |
|
28 |
|
|
29 |
<div class="centerContentBorder"> |
|
30 |
<div class="templatecontentareaclass"> |
|
31 |
|
|
32 |
<xsl:if test="*[local-name()='metadata']"> |
|
33 |
<xsl:call-template name="metadata"/> |
|
34 |
</xsl:if> |
|
35 |
|
|
36 |
</div> |
|
37 |
</div> |
|
38 |
|
|
39 |
<script language="JavaScript"> |
|
40 |
insertTemplateClosing("<xsl:value-of select="$contextURL"/>"); |
|
41 |
</script> |
|
42 |
</body> |
|
43 |
</html> |
|
44 |
</xsl:template> |
|
45 |
|
|
46 |
</xsl:stylesheet> |
|
0 | 47 |
lib/style/skins/knb/knb.xml | ||
---|---|---|
12 | 12 |
<target publicid="-//W3C//HTML//EN">/style/common/login.xsl</target> |
13 | 13 |
</doctype> |
14 | 14 |
|
15 |
<!--FGDC styles --> |
|
16 |
<doctype publicid="metadata"> |
|
17 |
<target publicid="-//W3C//HTML//EN">/style/skins/knb/knb_fgdc.xsl</target> |
|
18 |
</doctype> |
|
15 | 19 |
<!-- |
16 | 20 |
<doctype publicid="-//NCEAS//eml-generic//EN"> |
17 | 21 |
<target publicid="-//W3C//HTML//EN">/style/common/generic-morpho.xsl</target> |
Also available in: Unified diff
add support for FGDC document display for the knb skin
see bug 3146