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">
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)" />
18 This is a news page. It displays an aggregation of all previous news
19 entries. We also have RSS generation enabled.
23 Only one news entry should be shown here:
25 <div news:
source=
"News" news:
limit=
"1" />
29 All news entries should be shown here, with h3 headings:
31 <div news:
source=
"News" news:
limit=
"-1" news:
header=
"h3" id=
"news-container" />