xref: /aosp_15_r20/external/apache-xml/test/tests/conf/namespace/namespace15.xsl (revision 1212f9a0ffdc28482b8821715d2222bf16dc14e2)
1<?xml version="1.0"?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
3     xmlns:help="xsl.lotus.com/help">
4
5  <!-- FileName: namespace15 -->
6  <!-- Document: http://www.w3.org/TR/xpath -->
7  <!-- DocVersion: 19991116 -->
8  <!-- Section: 2.2 Stylesheet Element. -->
9  <!-- Creator: Paul Dick -->
10  <!-- Purpose: Stylesheet elements may contain any element not from the
11       XSLT namespace, provided that the expanded name of the element has
12       a non-null namespace URI. -->
13
14<help:Header comment="Header would go here"/>
15<help:TOC comment="Table of Contents"/>
16
17<help:Template comment="This is the main template" match="doc" process="children"/>
18<xsl:template match="doc">
19  <out>
20	<xsl:text>&#010;</xsl:text>
21	<xsl:value-of select="'Testing '"/>
22	<xsl:for-each select="*">
23		<xsl:value-of select="."/><xsl:text> </xsl:text>
24	</xsl:for-each>
25
26	<xsl:call-template name="ThatTemp">
27		<xsl:with-param name="sam">quos</xsl:with-param>
28	</xsl:call-template>
29  </out>
30</xsl:template>
31
32<help:Template comment="Named template" match="*" process="children"/>
33<xsl:template name="ThatTemp">
34  <xsl:param name="sam">bo</xsl:param>
35  <xsl:copy-of select="$sam"/>
36</xsl:template>
37
38<help:Footer comment="Footer would go here"/>
39
40  <!--
41   * Licensed to the Apache Software Foundation (ASF) under one
42   * or more contributor license agreements. See the NOTICE file
43   * distributed with this work for additional information
44   * regarding copyright ownership. The ASF licenses this file
45   * to you under the Apache License, Version 2.0 (the  "License");
46   * you may not use this file except in compliance with the License.
47   * You may obtain a copy of the License at
48   *
49   *     http://www.apache.org/licenses/LICENSE-2.0
50   *
51   * Unless required by applicable law or agreed to in writing, software
52   * distributed under the License is distributed on an "AS IS" BASIS,
53   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54   * See the License for the specific language governing permissions and
55   * limitations under the License.
56  -->
57
58</xsl:stylesheet>
59