1<xsl:stylesheet 2 xmlns:xsl='http://www.w3.org/1999/XSL/Transform' version='1.0' 3 xmlns:bar="http://apache.org/bar" 4 exclude-result-prefixes="bar"> 5 6 <xsl:include href="inc1/inc1.xsl"/> 7 8 <xsl:param name="a-param">default param value</xsl:param> 9 10 <xsl:template match="bar:element"> 11 <bar> 12 <param-val> 13 <xsl:value-of select="$a-param"/><xsl:text>, </xsl:text> 14 <xsl:value-of select="$my-var"/> 15 </param-val> 16 <data><xsl:apply-templates/></data> 17 </bar> 18 </xsl:template> 19 20 <xsl:template 21 match="@*|*|text()|processing-instruction()"> 22 <xsl:copy> 23 <xsl:apply-templates 24 select="@*|*|text()|processing-instruction()"/> 25 </xsl:copy> 26 </xsl:template> 27 28 <!-- 29 * Licensed to the Apache Software Foundation (ASF) under one 30 * or more contributor license agreements. See the NOTICE file 31 * distributed with this work for additional information 32 * regarding copyright ownership. The ASF licenses this file 33 * to you under the Apache License, Version 2.0 (the "License"); 34 * you may not use this file except in compliance with the License. 35 * You may obtain a copy of the License at 36 * 37 * http://www.apache.org/licenses/LICENSE-2.0 38 * 39 * Unless required by applicable law or agreed to in writing, software 40 * distributed under the License is distributed on an "AS IS" BASIS, 41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 42 * See the License for the specific language governing permissions and 43 * limitations under the License. 44 --> 45 46</xsl:stylesheet> 47