Turning XSLT into a simple HTML snippet.
- by jaasum
http://drp.ly/yeAex
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/data/tour/entry">
<img src="{filename}"/>
<h2>{heading}</h2>
{description}
</xsl:template>
</xsl:stylesheet>
Here is the code I am…