Sha256: bb82071ec051360bc598542d3727d8e31e4995d34e487fc0fffbcc44a7f986b1

Contents?: true

Size: 755 Bytes

Versions: 42

Compression:

Stored size: 755 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml"/>
	<xsl:template match="/">
		<customers>
			<xsl:apply-templates select="customers/customer[@Country='Germany']"/>
		</customers>
	</xsl:template>
	<xsl:template match="customers">
		<xsl:apply-templates/>

	</xsl:template>
	<xsl:template match="customer">
		<customer>
			<xsl:attribute name="CompanyName"><xsl:value-of select="@CompanyName"/></xsl:attribute>
			<xsl:attribute name="CustomerID"><xsl:value-of select="@CustomerID"/></xsl:attribute>
			<xsl:attribute name="Country"><xsl:value-of select="@Country"/></xsl:attribute>
		</customer>
		<xsl:apply-templates/>
	</xsl:template>

</xsl:stylesheet>

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/pygments.rb-0.6.3/vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.6.3 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.6.2 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.6.1 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.6.0 vendor/pygments-main/tests/examplefiles/test.xsl
mortar-pygments.rb-0.5.7 vendor/pygments-main/tests/examplefiles/test.xsl
mortar-pygments.rb-0.5.6 vendor/pygments-main/tests/examplefiles/test.xsl
mortar-pygments.rb-0.5.5 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-jruby-0.5.4.2 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-jruby-0.5.4.1 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-jruby-0.5.4 vendor/pygments-main/tests/examplefiles/test.xsl
gitlab-pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.5.4 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.5.2 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.5.1 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.5.0 vendor/pygments-main/tests/examplefiles/test.xsl
gitlab-pygments.rb-0.3.2 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.4.2 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.4.1 vendor/pygments-main/tests/examplefiles/test.xsl
pygments.rb-0.3.7 vendor/pygments-main/tests/examplefiles/test.xsl