1<?xml version="1.0"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3<xsl:import href="o.xsl"/> 4 5<xsl:param name="nParam" select="string('!From n!')"/> 6 7<xsl:template match="chapter[@num='1']"> 8 n-contents of first chapter: 9 <xsl:value-of select="."/> 10</xsl:template> 11 12 13 <!-- 14 * Licensed to the Apache Software Foundation (ASF) under one 15 * or more contributor license agreements. See the NOTICE file 16 * distributed with this work for additional information 17 * regarding copyright ownership. The ASF licenses this file 18 * to you under the Apache License, Version 2.0 (the "License"); 19 * you may not use this file except in compliance with the License. 20 * You may obtain a copy of the License at 21 * 22 * http://www.apache.org/licenses/LICENSE-2.0 23 * 24 * Unless required by applicable law or agreed to in writing, software 25 * distributed under the License is distributed on an "AS IS" BASIS, 26 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 27 * See the License for the specific language governing permissions and 28 * limitations under the License. 29 --> 30 31</xsl:stylesheet> 32