1<?xml version="1.0"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3<!-- xsl-comment-1 Filename: TransformState99b.xsl --> 4<!-- xsl:include should be on line 5 in this file --> 5<xsl:include href="TransformState99binc.xsl" /> 6 7 8 9<xsl:variable name="variable1" select="variable-1-value"/> 10<xsl:param name="param1" select="param-1-value-default"/> 11 12 13 <xsl:template match="/" name="template-1-root"> 14 <doc> 15 <mode-header> 16 <xsl:text>xsl-text-1</xsl:text> 17 <xsl:value-of select="$variable1" /> 18 <xsl:value-of select="$param1" /> 19 <xsl:element name="xsl-element-1"> 20 <xsl:attribute name="xsl-attribute-1">xsl-attribute-1-value</xsl:attribute>xsl-element-content-newline 21 </xsl:element> 22 </mode-header> 23 <mode-none><xsl:apply-templates select="list" /></mode-none> 24 <mode-ala><xsl:call-template name="apple" /></mode-ala> 25 </doc> 26 </xsl:template> 27 28 <xsl:template match="item"> 29 <pie><xsl:copy/></pie> 30 </xsl:template> 31 32 33 34 35 36 37 38 39 40<!-- This should be line # 40 in the file! 4567-50-234567-60-234567-70-234567-80-234567-90-23456-99 --> 41 42 43 44 45 46 47 48 49 <xsl:template match="list" mode="ala" name="list-ala-mode" > 50<!-- This should be line # 50 in the file! 4567-50-234567-60-234567-70-234567-80-234567-90-23456-99 --> 51 <icecream>text-literal-chars<xsl:text>xsl-text-2a</xsl:text> <xsl:copy-of select="item[2]"/> 52 </icecream> 53 </xsl:template> 54 55 56 57 58 59 <xsl:template match="list" name="list-no-mode" > 60<!-- This should be line # 60 in the file! 4567-50-234567-60-234567-70-234567-80-234567-90-23456-99 --> 61 <icemilk>text-literal-chars<xsl:text>xsl-text-3a</xsl:text> <xsl:copy-of select="item[2]"/> 62 </icemilk> 63 </xsl:template> 64 65 66 <!-- 67 * Licensed to the Apache Software Foundation (ASF) under one 68 * or more contributor license agreements. See the NOTICE file 69 * distributed with this work for additional information 70 * regarding copyright ownership. The ASF licenses this file 71 * to you under the Apache License, Version 2.0 (the "License"); 72 * you may not use this file except in compliance with the License. 73 * You may obtain a copy of the License at 74 * 75 * http://www.apache.org/licenses/LICENSE-2.0 76 * 77 * Unless required by applicable law or agreed to in writing, software 78 * distributed under the License is distributed on an "AS IS" BASIS, 79 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 80 * See the License for the specific language governing permissions and 81 * limitations under the License. 82 --> 83 84</xsl:stylesheet> 85