• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3                xmlns:jsp="http://www.w3.org/jsp"
4				xmlns="http://www.w3.org/TR/REC-html40"
5                exclude-result-prefixes="jsp">
6
7  <!-- FileName: OUTP63 -->
8  <!-- Document: http://www.w3.org/TR/xslt -->
9  <!-- DocVersion: 19991116 -->
10  <!-- Section: 16.2 HTML Output Method -->
11  <!-- Purpose: The html output method should not output an element
12                differently from the xml output method unless the
13                expanded-name of the element has a null namespace URI; an
14                element whose expanded-name has a non-null namespace URI
15                should be output as XML. So the html tags <p>, <hr> and
16                <br> in this case, due to the default html namespace will
17                be output as xml not html. -->
18  <!-- Creator: Paul Dick -->
19
20<xsl:output method="html"/>
21
22<xsl:template match="/">
23  <HTML>
24    <jsp:setProperty name="blah" property="blah" value="blah"/>
25	<P></P>
26	<p/>
27	<P/>
28	<hr size="8"></hr>
29	<hr size="8"/>
30	<br/>
31	<br>
32	</br>
33  </HTML>
34</xsl:template>
35
36
37  <!--
38   * Licensed to the Apache Software Foundation (ASF) under one
39   * or more contributor license agreements. See the NOTICE file
40   * distributed with this work for additional information
41   * regarding copyright ownership. The ASF licenses this file
42   * to you under the Apache License, Version 2.0 (the  "License");
43   * you may not use this file except in compliance with the License.
44   * You may obtain a copy of the License at
45   *
46   *     http://www.apache.org/licenses/LICENSE-2.0
47   *
48   * Unless required by applicable law or agreed to in writing, software
49   * distributed under the License is distributed on an "AS IS" BASIS,
50   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51   * See the License for the specific language governing permissions and
52   * limitations under the License.
53  -->
54
55</xsl:stylesheet>
56