Sha256: 6c84980746af22f16fc7077d1f8008b8e31bfe871a907ea108d270c6642be5b2

Contents?: true

Size: 745 Bytes

Versions: 24

Compression:

Stored size: 745 Bytes

Contents

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
		xmlns:test="urn:test"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		exclude-result-prefixes="test xsl">

  <xsl:output method="xml"
              encoding="utf-8"/>

  <xsl:template match="order">
    <result>
      <xsl:apply-templates/>
    </result>
  </xsl:template>

  <xsl:template match="first">
    <first>
      <xsl:value-of select="test:get-products()/item[1]"/>
    </first>
  </xsl:template>

  <xsl:template match="items">
    <xsl:apply-templates select="test:get-products()" mode="list"/>
  </xsl:template>

  <xsl:template match="item" mode="list">
    <item>
      <xsl:apply-templates mode="list"/>
    </item>
  </xsl:template>

</xsl:stylesheet>

Version data entries

24 entries across 24 versions & 5 rubygems

Version Path
Pistos-ramaze-2008.09 spec/ramaze/template/xslt/products.xsl
Pistos-ramaze-2008.12 spec/ramaze/template/xslt/products.xsl
Pistos-ramaze-2009.01 spec/ramaze/template/xslt/products.xsl
Pistos-ramaze-2009.02 spec/ramaze/template/xslt/products.xsl
clivecrous-ramaze-0.3.9.5 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2008.07 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2008.08 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2008.09 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2008.10 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2008.12 spec/ramaze/template/xslt/products.xsl
manveru-ramaze-2009.01 spec/ramaze/template/xslt/products.xsl
ptomato-ramaze-2009.02.1 spec/ramaze/template/xslt/products.xsl
ptomato-ramaze-2009.02 spec/ramaze/template/xslt/products.xsl
ramaze-0.2.0 spec/ramaze/template/xslt/products.xsl
ramaze-0.3.0 spec/ramaze/template/xslt/products.xsl
ramaze-0.2.1 spec/ramaze/template/xslt/products.xsl
ramaze-0.3.5 spec/ramaze/template/xslt/products.xsl
ramaze-0.3.9.1 spec/ramaze/template/xslt/products.xsl
ramaze-2008.06 spec/ramaze/template/xslt/products.xsl
ramaze-0.3.9 spec/ramaze/template/xslt/products.xsl