View | Details | Raw Unified | Return to bug 53764
Collapse All | Expand All

(-)a/build.xml (+26 lines)
Lines 2293-2298 run JMeter unless all the JMeter jars are added. Link Here
2293
    </javadoc>
2293
    </javadoc>
2294
</target>
2294
</target>
2295
2295
2296
  <target name="docs-newsite" depends="init-docs" description="Generate browsable HTML documentation in web-site format.">
2297
    <mkdir dir="docs-new" />
2298
    <xslt style="xdocs/stylesheets/website-style.xsl" basedir="${src.docs}" destdir="docs-new"
2299
      excludes="extending.xml" includes="*.xml">
2300
      <param name="relative-path" expression="." />
2301
      <param name="subdir" expression="" />
2302
      <param name="year" expression="${year}" />
2303
    </xslt>
2304
    <xslt style="xdocs/stylesheets/website-style.xsl" basedir="${src.docs}/usermanual" destdir="docs-new/usermanual"
2305
      excludes="extending.xml" includes="*.xml">
2306
      <param name="relative-path" expression=".." />
2307
      <param name="subdir" expression="usermanual" />
2308
      <param name="year" expression="${year}" />
2309
    </xslt>
2310
    <copy todir="docs-new/images">
2311
      <fileset dir="${src.images}" excludes="logo.xcf,logo.svg"/>
2312
    </copy>
2313
    <copy todir="docs-new/css">
2314
      <fileset dir="${src.css}"/>
2315
    </copy>
2316
    <echo level="info">Remove superfluos &amp;amp;</echo>
2317
    <replace encoding="iso-8859-1" dir="docs-new" includes="**/*.html" token="&amp;amp;" value="&amp;"/>
2318
    <echo level="info">Removing unnecessary &lt;/br> tags</echo>
2319
    <replace encoding="iso-8859-1" dir="${dest.docs}/" includes="**/*.html" token="&lt;/br>" value=""/>
2320
  </target>
2321
2296
  <target name="docs-site" depends="init-docs" if="AnakiaTask.present" description="Generate browsable HTML documentation in web-site format.">
2322
  <target name="docs-site" depends="init-docs" if="AnakiaTask.present" description="Generate browsable HTML documentation in web-site format.">
2297
    <taskdef name="anakia" classpathref="anakia.classpath" classname="org.apache.velocity.anakia.AnakiaTask"/>
2323
    <taskdef name="anakia" classpathref="anakia.classpath" classname="org.apache.velocity.anakia.AnakiaTask"/>
2298
    <!-- The extending pages are rather out of date (and not linked from elsewhere) -->
2324
    <!-- The extending pages are rather out of date (and not linked from elsewhere) -->
(-)a/xdocs/css/new-style.css (+283 lines)
Line 0 Link Here
1
.main {
2
	font-family: DejaVu Sans;
3
	width: 60em;
4
}
5
6
img {
7
	border: 0;
8
}
9
10
.menu, h1, h2, h3, h4, h5, .go-top, .title {
11
	font-family: "Special Elite";
12
}
13
14
.footer {
15
	background-color: #444;
16
	border-top: 1px solid black;
17
	color: white;
18
	margin-top: 3em;
19
	padding: 2em 0 1em;
20
	text-align: center;
21
	box-shadow: 0 -8px 21px 0 rgba(0, 0, 0, 0.2);
22
}
23
24
.menu {
25
	border: 1px solid lightgray;
26
	box-shadow: 5px 5px 10px rgba(20, 20, 20, 0.3);
27
	list-style: outside none none;
28
	margin: 0.5em;
29
	padding: 0.5em;
30
	background-color: #eee;
31
}
32
33
.menu+.menu {
34
	margin-top: 1.5em;
35
}
36
37
body {
38
	margin: 0px;
39
	padding: 0px;
40
}
41
42
.section
43
          pre {
44
	background: none repeat scroll 0 0 lightblue;
45
	padding: 0.2em;
46
	font-family: dejavu sans mono;
47
}
48
49
.code {
50
	background: none repeat scroll 0 0 lightblue;
51
	padding: 0.1em;
52
	font-family: dejavu sans mono;
53
}
54
55
.required-Yes>span {
56
	font-weight: bold;
57
}
58
59
.deprecated, .note {
60
	background: none repeat scroll 0 0 #fee;
61
	border: 1px solid #dbb;
62
	margin: 1em;
63
	padding: 1em;
64
}
65
66
.component {
67
	background: none repeat scroll 0 0 #fff;
68
	margin: 1em;
69
	padding: 0.4em;
70
}
71
72
.subsection {
73
	background: none repeat scroll 0 0 white;
74
	margin: 1em;
75
	padding: 1em;
76
}
77
78
.screenshot {
79
	margin: 2em;
80
	padding: 0;
81
}
82
83
.figure {
84
	margin: 1em 2em;
85
}
86
87
.figure>img, .screenshot>img {
88
	box-shadow: 10px 10px 10px 0 rgba(50, 50, 50, 0.25);
89
	overflow: auto;
90
}
91
92
.clear {
93
	clear: both;
94
}
95
96
.nostyle {
97
	border: 1px solid black;
98
}
99
100
.title {
101
	font-size: 120%;
102
	font-weight: bold;
103
}
104
105
.example {
106
	background: none repeat scroll 0 0 lightgray;
107
	border: 1px solid gray;
108
	clear: both;
109
	padding: 1em;
110
	margin: 1em;
111
}
112
113
.property .name, .property
114
          .description, .property
115
          .required {
116
	display: inline-block;
117
}
118
119
.property .name {
120
	font-style: italic;
121
	vertical-align: top;
122
	width: 20%;
123
}
124
125
.property .description {
126
	vertical-align: top;
127
	width: 60%;
128
}
129
130
.property .required {
131
	vertical-align: top;
132
	width: 20%;
133
}
134
135
.property+.property {
136
	margin-top: 0.5em;
137
}
138
139
.required.req-false {
140
	font-weight: lighter;
141
}
142
143
.go-top {
144
	margin: 1em 0;
145
	font-size: 120%;
146
}
147
148
.properties {
149
	background: none repeat scroll 0 0 lightgoldenrodyellow;
150
	border: 1px solid darksalmon;
151
	margin: 1em;
152
	padding: 1em;
153
}
154
155
.properties .title {
156
	font-size: 100%;
157
}
158
159
.nav {
160
	display: inline-block;
161
	max-width: 15em;
162
	vertical-align: top;
163
	width: 33%;
164
}
165
166
.main {
167
	display: inline-block;
168
	margin-left: 2em;
169
	max-width: 60em;
170
	width: 60%;
171
}
172
173
.header {
174
	clear: both;
175
	display: table;
176
	margin-bottom: 2em;
177
	width: 100%;
178
	box-shadow: 0px 5px 33px 0px rgba(0, 0, 0, 0.2);
179
	padding: 1em 0em 2em;
180
	border-bottom: 1px solid gray;
181
}
182
183
.header span {
184
	display: table-cell;
185
	vertical-align: middle;
186
}
187
188
.header span+span {
189
	text-align: center;
190
}
191
192
.sectionlink {
193
	display: none;
194
}
195
196
:hover>.sectionlink {
197
	display: inline;
198
	color: orange;
199
}
200
201
.pagelinks {
202
	list-style: none;
203
}
204
205
.pagelinks li {
206
	display: inline-block;
207
	margin: 1em;
208
}
209
210
.pagelinks>li {
211
	background-color: #ddd;
212
	border: 1px solid #bbb;
213
	box-shadow: 5px 5px 5px rgba(20, 20, 20, 0.2);
214
	padding: 0.5em 1em;
215
}
216
217
.pagelinks li {
218
	display: inline-block;
219
	margin: 1em;
220
	font-family: "Special Elite";
221
}
222
223
.section-index {
224
	font-family: "Special Elite";
225
	margin:;
226
	list-style: none;
227
}
228
229
.section-index>li {
230
	margin: 1em;
231
	background-color: #eee;
232
	padding: 1em;
233
	border: 1px solid #bbb;
234
	box-shadow: 5px 5px 5px rgba(20, 20, 20, 0.2);
235
}
236
237
@media screen and (max-width: 900px) {
238
	.nav {
239
		display: block;
240
		width: 100%;
241
		max-width: 100%;
242
	}
243
	.main {
244
		display: block;
245
		width: 100%;
246
		max-width: 100%;
247
		margin-left: 0.5em;
248
	}
249
	.section-index, pagelinks {
250
		padding-left: 0px;
251
		margin-left: 0px;
252
	}
253
	.figure {
254
		margin: 1em 0px;
255
	}
256
	.properties {
257
		margin: 0px;
258
	}
259
	.property .name, .property
260
          .description, .property
261
          .required {
262
		display: block;
263
		width: 100%;
264
	}
265
	.property .required {
266
		border-bottom: 1px solid #ddd;
267
	}
268
	.property .required::before {
269
		content: 'R: ';
270
	}
271
	.property .name::before {
272
		content: 'N: ';
273
	}
274
	.property .description::before {
275
		content: 'D: ';
276
	}
277
	.header {
278
		display: block;
279
	}
280
	.header span {
281
		display: inline;
282
	}
283
}
(-)a/xdocs/stylesheets/website-style.xsl (+489 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
3
  license agreements. See the NOTICE file distributed with this work for additional
4
  information regarding copyright ownership. The ASF licenses this file to
5
  You under the Apache License, Version 2.0 (the "License"); you may not use
6
  this file except in compliance with the License. You may obtain a copy of
7
  the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8
  by applicable law or agreed to in writing, software distributed under the
9
  License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10
  OF ANY KIND, either express or implied. See the License for the specific
11
  language governing permissions and limitations under the License. -->
12
<!-- Content Stylesheet for "jmeter-site" -->
13
14
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
15
  version="3.0"
16
>
17
18
  <!-- Defined parameters (overrideable) -->
19
  <xsl:param name="relative-path" select="'.'" />
20
  <xsl:param name="subdir" select="''" />
21
  <xsl:param name="imgdir" select="concat($relative-path, '/images')" />
22
  <xsl:param name="sshotdir" select="concat($imgdir, '/screenshots')" />
23
  <xsl:param name="cssdir" select="concat($relative-path, '/css')" />
24
  <xsl:param name="jakarta-site" select="'http://jakarta.apache.org'" />
25
  <xsl:param name="year" select="'2015'" />
26
27
  <!-- Output method -->
28
  <xsl:output method="html" html-version="5.0" encoding="iso-8859-15"
29
    indent="no" doctype-system="about:legacy-compat" />
30
31
  <xsl:template match="document">
32
    <xsl:variable name="project" select="document('project.xml')/project" />
33
    <html lang="en">
34
      <head>
35
        <title>
36
          <xsl:value-of select="$project/title" />
37
          -
38
          <xsl:value-of select="properties/title" />
39
        </title>
40
        <xsl:for-each select="properties/author">
41
          <xsl:variable name="name">
42
            <xsl:value-of select="." />
43
          </xsl:variable>
44
          <xsl:variable name="email">
45
            <xsl:value-of select="@email" />
46
          </xsl:variable>
47
          <meta name="author" value="{$name}" />
48
          <meta name="email" value="{$email}" />
49
        </xsl:for-each>
50
        <!-- VIEWPORT -->
51
        <meta name="viewport" content="width=device-width, initial-scale=1" />
52
        <link
53
          href='http://fonts.googleapis.com/css?family=Special+Elite:400normal'
54
          rel='stylesheet' type='text/css'
55
        ></link>
56
        <link rel="stylesheet" type="text/css" href="{concat($cssdir, '/new-style.css')}"></link>
57
      </head>
58
      <body role="document">
59
        <div class="header">
60
          <xsl:comment>
61
            APACHE LOGO
62
          </xsl:comment>
63
          <span>
64
            <a href="http://www.apache.org">
65
              <img title="Apache Software Foundation" width="290"
66
                height="75" src="{$imgdir}/asf-logo.png" alt="Logo ASF" />
67
            </a>
68
          </span>
69
          <xsl:if test="$project/logo">
70
            <xsl:variable name="alt">
71
              <xsl:value-of select="$project/logo" />
72
            </xsl:variable>
73
            <xsl:variable name="home">
74
              <xsl:value-of select="$project/@href" />
75
            </xsl:variable>
76
            <xsl:variable name="src">
77
              <xsl:value-of
78
                select="concat($relative-path, $project/logo/@href)" />
79
            </xsl:variable>
80
            <xsl:comment>
81
              PROJECT LOGO
82
            </xsl:comment>
83
            <span>
84
              <a href="{$home}">
85
                <img src="{$src}" alt="{$alt}" />
86
              </a>
87
            </span>
88
          </xsl:if>
89
          <span>
90
            <a href="https://twitter.com/share" class="twitter-share-button"
91
              data-text="Powerful Load Testing with Apache #JMeter"
92
              data-via="ApacheJMeter" data-lang="en-gb" data-size="large"
93
            >Tweet</a>
94
            <script><![CDATA[
95
            (function(d,s,id){
96
              var js,
97
                  fjs=d.getElementsByTagName(s)[0],
98
                  p=/^http:/.test(d.location)?'http':'https';
99
              if (!d.getElementById(id)) {
100
                  js=d.createElement(s);
101
                  js.id=id;
102
                  js.src=p+'://platform.twitter.com/widgets.js';
103
                  fjs.parentNode.insertBefore(js,fjs);
104
              }
105
            })(document, 'script', 'twitter-wjs');]]>
106
            </script>
107
            <a href="https://twitter.com/ApacheJMeter" class="twitter-follow-button"
108
              data-show-count="false" data-lang="en-gb" data-size="large"
109
            >Follow</a>
110
            <script><![CDATA[(function(d,s,id){
111
                var js,
112
                    fjs=d.getElementsByTagName(s)[0],
113
                    p=/^http:/.test(d.location)?'http':'https';
114
                if (!d.getElementById(id)) {
115
                    js=d.createElement(s);
116
                    js.id=id;
117
                    js.src=p+'://platform.twitter.com/widgets.js';
118
                    fjs.parentNode.insertBefore(js,fjs);
119
                }
120
            })(document, 'script', 'twitter-wjs');]]>
121
            </script>
122
          </span>
123
        </div>
124
        <div class="nav">
125
          <xsl:apply-templates select="$project/body/menu" />
126
        </div>
127
        <div class="main">
128
          <xsl:call-template name="pagelinks" />
129
          <xsl:if test="@index">
130
            <xsl:call-template name="section-index" />
131
          </xsl:if>
132
          <xsl:apply-templates select="body/section"></xsl:apply-templates>
133
        </div>
134
        <div class="footer">
135
          <div class="copyright">
136
            Copyright &amp;copy;
137
            1999 &amp;ndash;
138
            <xsl:value-of select="$year" />
139
            , Apache Software Foundation
140
          </div>
141
          <div class="trademarks">Apache, Apache JMeter, JMeter, the Apache
142
            feather, and the Apache JMeter logo are
143
            trademarks of the
144
            Apache Software Foundation.
145
          </div>
146
        </div>
147
      </body>
148
    </html>
149
  </xsl:template>
150
151
  <xsl:template name="pagelinks">
152
    <xsl:if test="@prev or @next">
153
      <ul class="pagelinks">
154
        <xsl:if test="@prev">
155
          <li>
156
            <a href="{@prev}">Prev</a>
157
          </li>
158
        </xsl:if>
159
        <li>
160
          <a href="{concat($relative-path, '/index.html')}">Index</a>
161
        </li>
162
        <xsl:if test="@next">
163
          <li>
164
            <a href="{@next}">Next</a>
165
          </li>
166
        </xsl:if>
167
      </ul>
168
    </xsl:if>
169
  </xsl:template>
170
171
  <xsl:template name="section-index">
172
    <ul class="section-index">
173
      <xsl:for-each select="body/section">
174
        <li>
175
          <a href="#{@anchor}">
176
            <xsl:value-of select="@name" />
177
          </a>
178
          <ul>
179
            <xsl:for-each select="component">
180
              <li>
181
                <a href="#{translate(normalize-space(@name), ' ', '_')}">
182
                  <xsl:value-of select="@name" />
183
                  <xsl:if test="@was">
184
                    (was:
185
                    <xsl:value-of select="@was" />
186
                    )
187
                  </xsl:if>
188
                </a>
189
              </li>
190
            </xsl:for-each>
191
          </ul>
192
        </li>
193
      </xsl:for-each>
194
    </ul>
195
    <xsl:call-template name="pagelinks" />
196
  </xsl:template>
197
198
  <!-- Process a menu for the navigation bar -->
199
  <xsl:template match="menu">
200
    <ul class="menu">
201
      <li>
202
        <div class="menu-title">
203
          <xsl:value-of select="@name" />
204
        </div>
205
        <ul>
206
          <xsl:apply-templates select="item" />
207
        </ul>
208
      </li>
209
    </ul>
210
  </xsl:template>
211
212
  <!-- Process a menu item for the navigation bar -->
213
  <xsl:template match="item">
214
    <xsl:variable name="href">
215
      <xsl:choose>
216
        <xsl:when test="starts-with(@href, 'http')">
217
          <xsl:value-of select="@href" />
218
        </xsl:when>
219
        <xsl:when test="starts-with(@href, '/site')">
220
          <xsl:value-of select="concat($jakarta-site, @href)" />
221
        </xsl:when>
222
        <xsl:otherwise>
223
          <xsl:value-of select="concat($relative-path, @href)" />
224
        </xsl:otherwise>
225
      </xsl:choose>
226
    </xsl:variable>
227
    <li>
228
      <a href="{$href}">
229
        <xsl:value-of select="@name" />
230
      </a>
231
    </li>
232
  </xsl:template>
233
234
  <xsl:template match="section">
235
    <div class="section">
236
      <h1>
237
        <xsl:value-of select="@name" />
238
        <xsl:if test="@anchor">
239
          <xsl:call-template name="sectionlink">
240
            <xsl:with-param name="anchor" select="@anchor" />
241
          </xsl:call-template>
242
        </xsl:if>
243
      </h1>
244
      <xsl:apply-templates />
245
    </div>
246
  </xsl:template>
247
248
  <xsl:template match="ch_section">
249
    <h2 class="ch_section">
250
      <xsl:apply-templates />
251
    </h2>
252
  </xsl:template>
253
254
  <xsl:template match="ch_title">
255
    <h2 class="ch_title">
256
      <xsl:apply-templates />
257
    </h2>
258
  </xsl:template>
259
260
  <xsl:template match="ch_category">
261
    <h2 class="ch_category">
262
      <xsl:apply-templates />
263
    </h2>
264
  </xsl:template>
265
266
  <xsl:template match="subsection">
267
    <div class="subsection">
268
      <h2>
269
        <xsl:value-of select="@name" />
270
        <xsl:if test="@anchor">
271
          <xsl:call-template name="sectionlink">
272
            <xsl:with-param name="anchor" select="@anchor" />
273
          </xsl:call-template>
274
        </xsl:if>
275
      </h2>
276
      <xsl:apply-templates />
277
    </div>
278
  </xsl:template>
279
280
  <xsl:template match="source">
281
    <pre class="source">
282
      <xsl:apply-templates />
283
    </pre>
284
  </xsl:template>
285
286
  <xsl:template match="code">
287
    <span class="code">
288
      <xsl:apply-templates />
289
    </span>
290
  </xsl:template>
291
292
  <xsl:template match="description">
293
    <div class="description">
294
      <xsl:apply-templates />
295
    </div>
296
  </xsl:template>
297
298
  <xsl:template match="component">
299
    <div class="component">
300
      <h2>
301
        <xsl:value-of select="@name" />
302
        <xsl:if test="@was">
303
          <a name="{@was}">
304
            (was:
305
            <xsl:value-of select="@was" />
306
            )
307
          </a>
308
        </xsl:if>
309
        <xsl:if test="@name">
310
          <xsl:call-template name="sectionlink">
311
            <xsl:with-param name="anchor" select="@name" />
312
          </xsl:call-template>
313
        </xsl:if>
314
      </h2>
315
      <xsl:if test="@useinstead">
316
        <div class="deprecated">
317
          *** This element is deprecated. Use
318
          <a
319
            href="{concat($relative-path, '/usermanual/component_reference.html#', translate(normalize-space(@useinstead), ' ', '_'))}"
320
          >
321
            <xsl:value-of select="@useinstead" />
322
          </a>
323
          instead ***
324
        </div>
325
      </xsl:if>
326
      <xsl:if test="@screenshot">
327
        <div class="screenshot">
328
          <img src="{concat('../images/screenshots/', @screenshot)}"
329
            width="{@width}" height="{@height}" />
330
        </div>
331
      </xsl:if>
332
      <xsl:apply-templates />
333
      <div class="go-top">
334
        <a href="#">^</a>
335
      </div>
336
    </div>
337
  </xsl:template>
338
339
  <xsl:template name="sectionlink">
340
    <xsl:param name="anchor" />
341
    <a name="{translate(normalize-space($anchor), ' ', '_')}" />
342
    <a class="sectionlink" href="#{translate(normalize-space($anchor), ' ', '_')}"
343
      title="Link to here"
344
    >&amp;para;</a>
345
  </xsl:template>
346
347
  <xsl:template match="properties">
348
    <div class="properties">
349
      <h3>
350
        Parameters
351
        <xsl:if test="name(..) = 'component'">
352
          <xsl:call-template name="sectionlink">
353
            <xsl:with-param name="anchor"
354
              select="concat(translate(normalize-space(../@name), ' ', '_'), '_parms')" />
355
          </xsl:call-template>
356
        </xsl:if>
357
      </h3>
358
      <div class="property title">
359
        <div class="name title">Attribute</div>
360
        <div class="description title">Description</div>
361
        <div class="required title">Required</div>
362
      </div>
363
      <xsl:apply-templates />
364
    </div>
365
  </xsl:template>
366
367
  <xsl:template match="property">
368
    <div class="property">
369
      <div
370
        class="name req-{contains('yYtT', substring(normalize-space(@required), 1, 1))}"
371
      >
372
        <xsl:value-of select="@name" />
373
      </div>
374
      <div
375
        class="description req-{contains('yYtT', substring(normalize-space(@required), 1, 1))}"
376
      >
377
        <xsl:apply-templates />
378
      </div>
379
      <div
380
        class="required req-{contains('yYtT', substring(normalize-space(@required), 1, 1))}"
381
      >
382
        <xsl:value-of select="@required" />
383
      </div>
384
    </div>
385
  </xsl:template>
386
387
  <xsl:template match="note">
388
    <div class="clear"></div>
389
    <div class="note">
390
      <xsl:apply-templates />
391
    </div>
392
    <div class="clear"></div>
393
  </xsl:template>
394
395
  <xsl:template name="complink">
396
    <xsl:param name="name" />
397
    <a
398
      href="{concat($relative-path, '/usermanual/component_reference.html#', translate(@name, ' ', '_'))}"
399
    >
400
      <xsl:value-of select="translate(@name, ' ', '_')" />
401
    </a>
402
  </xsl:template>
403
404
  <xsl:template match="complink">
405
    <xsl:call-template name="complink">
406
      <xsl:with-param name="name" select="@name" />
407
    </xsl:call-template>
408
  </xsl:template>
409
410
  <xsl:template match="figure">
411
    <div class="figure">
412
      <img src="{concat($sshotdir, '/', @image)}" />
413
      <figcaption>
414
        <xsl:apply-templates />
415
      </figcaption>
416
    </div>
417
  </xsl:template>
418
419
  <xsl:template match="bugzilla">
420
    <a href="http://bz.apache.org/bugzilla/show_bug.cgi?id={./text()}">
421
      Bug
422
      <xsl:value-of select="./text()" />
423
    </a>
424
  </xsl:template>
425
426
  <xsl:template match="bug">
427
    <a href="http://bz.apache.org/bugzilla/show_bug.cgi?id={./text()}">
428
      Bug
429
      <xsl:value-of select="./text()" />
430
    </a>
431
    -
432
  </xsl:template>
433
434
  <xsl:template match="links">
435
    <div class="links">
436
      See also:
437
      <ul class="links">
438
        <xsl:apply-templates />
439
      </ul>
440
    </div>
441
  </xsl:template>
442
443
  <xsl:template match="link">
444
    <li>
445
      <a href="{@href}">
446
        <xsl:apply-templates />
447
      </a>
448
    </li>
449
  </xsl:template>
450
451
  <xsl:template match="example">
452
    <div class="example">
453
      <div class="title">
454
        <xsl:value-of select="@title" />
455
        <xsl:if test="@anchor">
456
          <xsl:call-template name="sectionlink">
457
            <xsl:with-param name="anchor" select="@anchor" />
458
          </xsl:call-template>
459
        </xsl:if>
460
      </div>
461
      <xsl:apply-templates />
462
    </div>
463
  </xsl:template>
464
465
  <xsl:template
466
    match="h1|h2|h3|h4|h5|p|b|em|ul|ol|li|a|i|pre|br|tt|table|tr|th|td|dl|dt|dd|sup|u|strong|thead|tbody|form|select|option|input|font|center|img|body|style"
467
  >
468
    <xsl:copy>
469
      <xsl:apply-templates select="@*|*|text()" />
470
    </xsl:copy>
471
  </xsl:template>
472
473
474
  <!-- Process everything else by just passing it through -->
475
  <xsl:template match="*">
476
    <div class="nostyle">
477
      <xsl:copy>
478
        <xsl:apply-templates select="@*|*|text()" />
479
      </xsl:copy>
480
    </div>
481
  </xsl:template>
482
483
  <xsl:template match="@*">
484
    <xsl:copy>
485
      <xsl:apply-templates select="@*|*|text()" />
486
    </xsl:copy>
487
  </xsl:template>
488
489
</xsl:stylesheet>

Return to bug 53764