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