mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
09.27.2011 589b178ba2ae174a233fe7b9611f52dc54c12af4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ! CCPL HEADER START
  !
  ! This work is licensed under the Creative Commons
  ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
  ! To view a copy of this license, visit
  ! http://creativecommons.org/licenses/by-nc-nd/3.0/
  ! or send a letter to Creative Commons, 444 Castro Street,
  ! Suite 900, Mountain View, California, 94041, USA.
  !
  ! You can also obtain a copy of the license at
  ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
  ! See the License for the specific language governing permissions
  ! and limitations under the License.
  !
  ! If applicable, add the following below this CCPL HEADER, with the fields
  ! enclosed by brackets "[]" replaced with your own identifying information:
  !      Portions Copyright [yyyy] [name of copyright owner]
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011 ForgeRock AS
  !    
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl"
 version="1.0">
 <xsl:import href="urn:docbkx:stylesheet" />
 <xsl:import href="urn:docbkx:stylesheet/highlight.xsl" />
 
 <xsl:param name="html.stylesheet">css/coredoc.css</xsl:param>
 <xsl:param name="chunk.section.depth" select="0" />
 <xsl:param name="chunker.output.encoding">UTF-8</xsl:param>
 <xsl:param name="chunker.output.indent">yes</xsl:param>
 <xsl:param name="generate.legalnotice.link" select="1" />
 <xsl:param name="root.filename">index</xsl:param> <!-- docbkx-tools ignores this. -->
 <xsl:param name="use.id.as.filename" select="1" />
 <xsl:param name="generate.toc">
  appendix  nop
  article/appendix  nop
  article   nop
  book      toc,title
  chapter   toc,title
  part      toc,title
  preface   nop
  qandadiv  nop
  qandaset  nop
  reference toc,title
  sect1     nop
  sect2     nop
  sect3     nop
  sect4     nop
  sect5     nop
  section   nop
  set       toc,title
 </xsl:param>
 <xsl:param name="toc.section.depth" select="1" />
 <xsl:param name="toc.max.depth" select="1" />
 <xsl:param name="generate.meta.abstract" select="1" />
 
 <xsl:param name="default.table.frame">none</xsl:param>
 <xsl:param name="default.table.rules">none</xsl:param>
 <xsl:param name="table.cell.border.thickness">0pt</xsl:param>
 
 <xsl:template match="xslthl:keyword" mode="xslthl">
   <strong class="hl-keyword">
     <xsl:apply-templates mode="xslthl"/>
   </strong>
 </xsl:template>
 <xsl:template match="xslthl:string" mode="xslthl">
   <strong class="hl-string">
     <em style="color: #f58220">
       <xsl:apply-templates mode="xslthl"/>
     </em>
   </strong>
 </xsl:template>
 <xsl:template match="xslthl:comment" mode="xslthl">
   <em class="hl-comment" style="color: #868686">
     <xsl:apply-templates mode="xslthl"/>
   </em>
 </xsl:template>
 <xsl:template match="xslthl:directive" mode="xslthl">
   <span class="hl-directive" style="color: #868686">
     <xsl:apply-templates mode="xslthl"/>
   </span>
 </xsl:template>
 <xsl:template match="xslthl:tag" mode="xslthl">
   <strong class="hl-tag" style="color: #f58220">
     <xsl:apply-templates mode="xslthl"/>
   </strong>
 </xsl:template>
 <xsl:template match="xslthl:attribute" mode="xslthl">
   <span class="hl-attribute" style="color: #868686">
     <xsl:apply-templates mode="xslthl"/>
   </span>
 </xsl:template>
 <xsl:template match="xslthl:value" mode="xslthl">
   <span class="hl-value" style="color: #333">
     <xsl:apply-templates mode="xslthl"/>
   </span>
 </xsl:template>
 <xsl:template match="xslthl:html" mode="xslthl">
   <strong>
     <em style="color: #f58220">
       <xsl:apply-templates mode="xslthl"/>
     </em>
   </strong>
 </xsl:template>
 <xsl:template match="xslthl:xslt" mode="xslthl">
   <strong style="color: #868686">
     <xsl:apply-templates mode="xslthl"/>
   </strong>
 </xsl:template>
 <!-- Not emitted since XSLTHL 2.0 -->
 <xsl:template match="xslthl:section" mode="xslthl">
   <strong>
     <xsl:apply-templates mode="xslthl"/>
   </strong>
 </xsl:template>
 <xsl:template match="xslthl:number" mode="xslthl">
   <span class="hl-number">
     <xsl:apply-templates mode="xslthl"/>
   </span>
 </xsl:template>
 <xsl:template match="xslthl:annotation" mode="xslthl">
   <em>
     <span class="hl-annotation" style="color: #868686">
       <xsl:apply-templates mode="xslthl"/>
     </span>
   </em>
 </xsl:template>
 <!-- Not sure which element will be in final XSLTHL 2.0 -->
 <xsl:template match="xslthl:doccomment|xslthl:doctype" mode="xslthl">
   <strong class="hl-tag" style="color: #868686">
     <xsl:apply-templates mode="xslthl"/>
   </strong>
 </xsl:template>
</xsl:stylesheet>