Sha256: a870485aaec718539bd40f1eedb3758a530c7b126c6687f14bf5ca8cbfd23496

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

<?xml version="1.0" ?>

<!--
author: gmosx
-->

<!DOCTYPE shader
[
<!ENTITY nbsp "<![CDATA[&nbsp;]]>">
<!ENTITY copy "<![CDATA[&copy;]]>">
<!ENTITY euro "<![CDATA[&euro;]]>">
<!ENTITY laquo "<![CDATA[&laquo;]]>">
<!ENTITY raquo "<![CDATA[&raquo;]]>">
]>

<xsl:stylesheet
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:x="http://www.navel.gr/xml/pager.xsd"
		exclude-result-prefixes="x"
		version="1.0">
	
	<xsl:template name="x:pager-first" match="x:pager-first">
		<xsl:apply-templates />				
			<a href="#{target_uri(first_page())}">
				<xsl:apply-templates />
			</a>
	</xsl:template>

	<xsl:template name="x:pager-prev" match="x:pager-prev">
		<xsl:apply-templates />				
			<a href="#{target_uri(previous_page())}">
				<xsl:apply-templates />
			</a>
	</xsl:template>
	
	<xsl:template name="x:pager-next" match="x:pager-next">
		<xsl:apply-templates />				
			<a href="#{target_uri(next_page())}">
				<xsl:apply-templates />
			</a>
	</xsl:template>
	
	<xsl:template name="x:pager-last" match="x:pager-last">
		<xsl:apply-templates />				
			<a href="#{target_uri(first_page())}">
				<xsl:apply-templates />
			</a>
	</xsl:template>

</xsl:stylesheet>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nitro-0.6.0 lib/xsl/ui.xsl
nitro-0.7.0 lib/xsl/ui.xsl
nitro-0.8.0 lib/xsl/ui.xsl