
Version 1, changed by s3admin. 12/16/2006. Show version history
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:html="http://www.w3.org/1999/xhtml" version="1.0">
<xsl:template match="/">
<items>
<xsl:for-each select=".//P">
<item>
<xsl:for-each select="A">
<href>
<xsl:value-of select="@href" />
</href>
<title>
<xsl:apply-templates />
</title>
</xsl:for-each>
<xsl:for-each select=".//FONT[1]">
<url>
<xsl:value-of select="FONT[1]" />
</url>
<xsl:for-each select="A[1]">
<cached>
<xsl:value-of select="@href" />
</cached>
</xsl:for-each>
<xsl:for-each select="A[2]">
<similar>
<xsl:value-of select="concat('http://www.google.com', @href)" />
</similar>
</xsl:for-each>
<info>
<xsl:apply-templates />
</info>
</xsl:for-each>
</item>
</xsl:for-each>
</items>
</xsl:template>
</xsl:stylesheet>