<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match= "/bookstore" >
<xsl:for-each select= "book[@publicationdate>1980]" >
Title: <xsl:value-of select= "title" />
Published <xsl:value-of select= "2006 - (@publicationdate)" /> years ago
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>