source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/src/etc/testcases/types/xmlcatalog.xsl@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 844 bytes
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<xsl:stylesheet
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
5
6 <!-- I belong to:
7 org.apache.tools.ant.types.XMLCatalogBuildFileTest.java
8 -->
9
10 <xsl:output method="text"/>
11
12 <!-- name of the output parameter to write -->
13 <xsl:param name="outprop">value</xsl:param>
14
15 <xsl:strip-space elements="*"/>
16
17 <xsl:template match="/">
18 <xsl:value-of select="$outprop"/>: <xsl:apply-templates select="/fragment/para"/>
19 </xsl:template>
20
21 <!-- This will only be matched in doc2.xml -->
22 <xsl:template match="Ref">
23 <xsl:apply-templates select="document(@file)/fragment/para"/>
24 </xsl:template>
25
26 <!-- This will only be matched in doc1.xml -->
27 <xsl:template match="text()">
28 <xsl:value-of select="normalize-space(.)"/>
29 </xsl:template>
30
31</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.