<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"
    xmlns:html="http://www.w3.org/1999/xhtml" xmlns:fn="http://www.w3.org/2005/xpath-function">
    <!-- Feed it your own DBLP page. I used Kendall's instead of mine because mine takes forever.-->
    <xsl:param name="dblp-page">http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/c/Clark:Kendall.html</xsl:param>
    <xsl:variable name="tidy" select="'http://cgi.w3.org/cgi-bin/tidy?docAddr='"></xsl:variable>
    <xsl:output method="text"/>
    <xsl:template name="dblp-scrape" match="/">
        <xsl:for-each select="document(concat($tidy, $dblp-page))//html:a[@class='rec']">
            <xsl:for-each
                select="document(concat($tidy,./@href))">
                <xsl:for-each select="//html:pre">
                    <xsl:value-of select="."/>
                </xsl:for-each>
            </xsl:for-each>
        </xsl:for-each>
    </xsl:template>
</xsl:stylesheet>

