<xsl:transform 
    xmlns:xsl  ="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:h    ="http://www.w3.org/1999/xhtml"
    xmlns      ="http://www.w3.org/1999/xhtml"
    xmlns:dc   ="http://purl.org/dc/elements/1.1/"
    xmlns:DCTERMS = "http://purl.org/dc/terms/"
    xmlns:rdf  ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:s    ="http://www.w3.org/2000/01/rdf-schema#"
    >

<div>
<p>A GRDDL transformation for ordinary HTML pages.</p>
<p>TODO: author from address tag; keywords, description;
date from RCS/CVS keywords</p>

<address>
$Id: pgdata.xsl,v 1.2 2005/10/07 21:01:37 connolly Exp $
</address>
</div>

<xsl:output method="xml" indent="yes"/>

<xsl:template match="h:html">
 <rdf:RDF>
   <rdf:Description rdf:about="">

     <xsl:apply-templates />
   </rdf:Description>
 </rdf:RDF>
</xsl:template>


<xsl:template match='h:title'>
  <dc:title><xsl:value-of select="." /></dc:title>
</xsl:template>

<xsl:template match='h:a[@rel="seeAlso"]'>
  <s:seeAlso rdf:resource='{@href}' />
</xsl:template>

<!-- don't pass text thru -->
<xsl:template match="text()|@*">
</xsl:template>


</xsl:transform>
