Re: transform RDF to HTML via XSL and PHP
| From: | Anthony Ettinger | Date: | Mon, 12 Jun 2006 01:33:20 +0000 |
| Subject: | Re: transform RDF to HTML via XSL and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237773@lists.php.net to get a copy of this message | ||
<xsl:template match="rdf:RDF">
<html>
<body>
<table border="1">
<xsl:for-each select="item">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="link"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
I'ts been awhile, but try the above.
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html