xref: /aosp_15_r20/external/apache-xml/test/tests/conf/namespace/namespace13.xsl (revision 1212f9a0ffdc28482b8821715d2222bf16dc14e2)
1<?xml version="1.0"?>
2<ped:transform xmlns:ped="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
4<ped:import href="impnspc13.xsl"/>
5<ped:include href="incnspc13.xsl"/>
6
7<ped:output method="xml"/>
8
9  <!-- FileName: namespace13 -->
10  <!-- Document: http://www.w3.org/TR/xpath -->
11  <!-- DocVersion: 19991116 -->
12  <!-- Section: 2.1 XSLT Namespace. -->
13  <!-- Creator: Paul Dick -->
14  <!-- Purpose: Stylesheets are free to use any prefix, provided there is a namespace
15       declaration that binds the prefix to the URI of XSLT namespace. -->
16
17<ped:template match="doc">
18  <out>
19	<ped:value-of select="'Testing '"/>
20	<ped:for-each select="*">
21		<ped:value-of select="."/><ped:text> </ped:text>
22	</ped:for-each>
23
24	<ped:call-template name="ThatTemp">
25		<ped:with-param name="sam">quos</ped:with-param>
26	</ped:call-template>
27
28	<ped:call-template name="ThatOtherTemp">
29		<ped:with-param name="sam">quos</ped:with-param>
30	</ped:call-template>
31
32	<ped:call-template name="ThatForthTemp">
33		<ped:with-param name="sam">quos</ped:with-param>
34	</ped:call-template>
35  </out>
36</ped:template>
37
38<ped:template name="ThatTemp">
39  <ped:param name="sam">bo</ped:param>
40	Orginal xmlns:ped <ped:copy-of select="$sam"/>
41</ped:template>
42
43  <!--
44   * Licensed to the Apache Software Foundation (ASF) under one
45   * or more contributor license agreements. See the NOTICE file
46   * distributed with this work for additional information
47   * regarding copyright ownership. The ASF licenses this file
48   * to you under the Apache License, Version 2.0 (the  "License");
49   * you may not use this file except in compliance with the License.
50   * You may obtain a copy of the License at
51   *
52   *     http://www.apache.org/licenses/LICENSE-2.0
53   *
54   * Unless required by applicable law or agreed to in writing, software
55   * distributed under the License is distributed on an "AS IS" BASIS,
56   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57   * See the License for the specific language governing permissions and
58   * limitations under the License.
59  -->
60
61</ped:transform>
62