Improve coverage in News smoketest.
[xhtml-compiler.git] / smoketests / DOMFilter / News.xhtml
blobb12071dd82cbf4f225392a5d00698f0f27e7cb73
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:xc="urn:xhtml-compiler"
5 xmlns:news="urn:xhtml-compiler:News"
6 xmlns:rss="urn:xhtml-compiler:RSSGenerator"
7 xml:lang="en" lang="en">
8 <head>
9 <title>My Blog</title>
10 <link rel="alternate" type="application/rss+xml"
11 title="My Blog" href="News.rss"
12 rss:for="news-container"
13 rss:description="News smoketest (RSS generation by RSSGenerator)" />
14 </head>
15 <body>
16 <h1>My Blog</h1>
17 <p>
18 This is a news page. It displays an aggregation of all previous news
19 entries. We also have RSS generation enabled.
20 </p>
21 <hr />
22 <p>
23 Only one news entry should be shown here:
24 </p>
25 <div news:source="News" news:limit="1" />
26 <hr />
27 <h2>Old entries</h2>
28 <p>
29 All news entries should be shown here, with h3 headings:
30 </p>
31 <div news:source="News" news:limit="-1" news:header="h3" id="news-container" />
32 </body>
33 </html>