Skip to main content
summaryrefslogtreecommitdiffstats
blob: f9ebcdb4396e03179652ecc5cef9f9bba46fff83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
	version='1.0'>

	<xsl:output method="xml" version="1.0" omit-xml-declaration="no"
		standalone="yes" indent="yes" />

	<!--
		<xsl:template match="@*|node()"> <xsl:copy-of select="@*|node()[@kind
		= 'ADDED']"> <xsl:apply-templates select="@*|node()" /> </xsl:copy-of>
		</xsl:template>
	-->

	<!--
		<xsl:template match="@*|node()"> <xsl:for-each
		select="catalog/cd[artist='Bob Dylan']"> </xsl:for-each> <xsl:choose>
		<xsl:when test="delta[@kind!='ADDED']"> </xsl:when> <xsl:otherwise>
		<xsl:copy-of select="@*|node()"> <xsl:apply-templates
		select="@*|node()" /> </xsl:copy-of> </xsl:otherwise> </xsl:choose>
		</xsl:template>
	-->

	<xsl:template match="@*|node()">
		<xsl:for-each select="delta[@kind!='ADDED']">
			<xsl:copy-of select=".">
				<xsl:apply-templates select="@*|node()" />
			</xsl:copy-of>
		</xsl:for-each>
	</xsl:template>
</xsl:stylesheet>

Back to the top