blob: 8a9f21fa2836a9bb4bfa9eba03b3ade7cee6480d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes"/>
<xsl:template match="/">
<html>
<body>
Lobsters
<xsl:for-each select="//div[@class='details']">
<p>
<xsl:copy-of select="span/a[@class='u-url']" />
<br/>
<xsl:value-of select="div[@class='byline']/span[position()=1]" />
|
<xsl:copy-of select="div[@class='byline']/span[@class='comments_label']/a" />
</p>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
|