<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:output method="html"/> 
	
	 <xsl:variable name="title" select="/rss/channel/title"/>
	 	 <xsl:variable name="link" select="/rss/channel/link"/>		
	<xsl:template match="/">

		<html>
			<head>
				<title>
					<xsl:value-of select="$title"/> XML Feed</title>
		<link rel="stylesheet" type="text/css" href="http://www.concern.net/css/rss.css" />
		<link rel="SHORTCUT ICON" href="/favicon.ico" />
	<link rel="alternate" type="application/rss+xml" title="Concern RSS Feed" href="http://www.concern.net/global-headlines.rss"/> 		
			</head>	
		<xsl:apply-templates select="rss/channel"/>		
		</html>
	</xsl:template>
	
		<xsl:template match="channel">
		<body><img src="http://www.concern.net/images/logo.gif" hspace="10"/>	<br />
		
	

		 	<div class="topbox">
			<div class="padtopbox">
			
			<h2>What is this page?</h2>
			<p>This is an RSS feed from the <a href="www.concern.net">Concern Worldwide</a> website. RSS feeds allow you to stay up to date with the latest from Concern Worldwide.</p>
			<p>To subscribe to it, you will need a News Reader or other similar device.</p>
			</div>
			</div>		
			
			<div class="banbox">
			<div class="padbanbox">			
			<div class="mvb">
			<div class="fltl"><span class="subhead">RSS Feed For: </span></div><a href="#" class="item"><img height="16" hspace="5" vspace="0" border="0" width="16" alt="RSS feeds" src="http://www.concern.net/images/rss/feed.gif" title="RSS feeds" align="left"/><xsl:value-of select="$title"/></a><br clear="all"/>
			 </div>
			 
			<div class="fltclear">Below is the latest content available from this feed.</div>		
			
	
			</div>
			</div>		
			
			<div class="mainbox">
				<div class="itembox">
					<div class="paditembox">
					<xsl:apply-templates select="item"/>
					</div>
				</div>	
				<div class="rhsbox">
					<div class="padrhsbox">
					<h2>Subscribe to this feed</h2>
					<p>You can subscribe to this RSS feed in a number of ways, including the following:</p>
					<ul>
					<li>Drag the orange RSS button into your News Reader</li>
					<li>Drag the URL of the RSS feed into your News Reader</li>
					<li>Cut and paste the URL of the RSS feed into your News Reader</li>
					</ul>										
					<xsl:if test="system-property('xsl:vendor')='Transformiix'">					
					</xsl:if>
					<xsl:if test="system-property('xsl:vendor')='Microsoft'">
					<div class="mvb">
					<span class="subhead">One-click subscriptions</span>
					</div>
					<div class="mvb">
					If you use one of the following web-based News Readers, click on the appropriate button to subscribe to the RSS feed.
					</div>
					
					<script language="javascript" type="text/javascript"> 									
						var url=window.location;
	  				document.write('<a href="http://www.live.com/?add='+ url +'"><img height="17" width="92" vspace="3" border="0" alt="windowslive" src="http://www.concern.net/images/rss/rss-windowslive.gif"/></a><br/>');			
	  				document.write('<a href="http://add.my.yahoo.com/rss?url='+ url +'"><img height="17" width="91" vspace="3" border="0" alt="my yahoo" src="http://www.concern.net/images/rss/myyahoo.gif"/></a><br/>');
						document.write('<a href="http://www.bloglines.com/sub/'+ url +'"><img height="18" width="91" vspace="3" border="0" alt="bloglines" src="http://www.concern.net/images/rss/bloglines.gif"/></a><br/>');
						document.write('<a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url='+ url +'"><img height="17" width="91" vspace="3" border="0" alt="newsgator" src="http://www.concern.net/images/rss/newsgator.gif"/></a><br/>');			
						document.write('<a href="http://www.netvibes.com/subscribe.php?url='+ url +'"><img height="17" width="91" vspace="3" border="0" alt="netvibes" src="http://www.concern.net/images/rss/rss-netvibes.gif"/></a><br/>');			
						document.write('<a href="http://www.pageflakes.com/subscribe.aspx?url='+ url +'"><img height="17" width="91" vspace="3" border="0" alt="pageflakes" src="http://www.concern.net/images/rss/rss-pageflakes.gif"/></a><br/>');			
						document.write('<a href="http://client.pluck.com/pluckit/prompt.aspx?a='+ url +'"><img height="17" width="91" vspace="3" border="0" alt="pluck" src="http://www.concern.net/images/rss/rss-pluck.gif"/></a><br/>');			
						document.write('<a href="http://fusion.google.com/add?feedurl='+ url +'"><img height="17" width="104" vspace="3" border="0" alt="google" src="http://www.concern.net/images/rss/rss-google.gif"/></a><br/>');			
						document.write('<a href="http://feeds.my.aol.com/add.jsp?url='+ url +'"><img height="14" width="63" vspace="3" border="0" alt="myaol" src="http://www.concern.net/images/rss/rss-myaol.gif"/></a><br/>');			
					</script>	
						
					</xsl:if>			
							
					
					</div>		
				</div>	
			</div>	
			
		<div class="footerbox">
		
		<xsl:if test="not(contains($link, 'indexD'))">
			<p><small>Concern Worldwide (UK) Registered Charity no. 1092236. Copyright © 2000 - 2006 Concern Worldwide . All rights reserved</small></p>
    </xsl:if>
    <xsl:if test="contains($link, 'indexD') or not(contains($link, 'index'))">
			<p><small>Concern Worldwide, Reg. No. 39647, Reg. Charity No. CHY 5745, Ireland. Copyright © 2000 - 2006 Concern Worldwide . All rights reserved</small></p>
    </xsl:if>
    
    
		</div>
				
		</body>
	</xsl:template>
		
	<xsl:template match="item">
	<div id="item">
	<ul>
			<li>
				<a href="{link}" class="item">
					<xsl:value-of select="title"/>
				</a><br/>			
				<div>
				<xsl:value-of select="description"/>					
				</div>	
				</li>
		</ul>
	</div>		
	</xsl:template>
	
</xsl:stylesheet>