<?xml version="1.0" ?>
<themeselect
   xmlns:uri='http://www.w3.org/2000/urispace'
   xmlns:uriext='http://repoze.org/repoze.urispace/extensions'
   >

 <!-- default theme and rules -->
 <theme>/static/themes/default.html</theme>
 <rules>/static/rules/default.xml</rules>

 <uri:path uri:match="news">
  <theme>/static/themes/news.html</theme>
  <uri:path uri:match="world">
   <theme>/static/themes/news.html?style=world</theme>
  </uri:path>
  <uri:path uri:match="national">
   <theme>/static/themes/news.html?style=national</theme>
  </uri:path>
  <uri:path uri:match="local">
   <theme>/static/themes/news.html?style=local</theme>
  </uri:path>
 </uri:path>

 <uri:path uri:match="lifestyle">
  <theme>/static/themes/lifestyle.html</theme>
 </uri:path>

 <uri:path uri:match="sports">
  <theme>/static/themes/sports.html</theme>
 </uri:path>

 <!-- Note that the following rules match "across" sections -->
 <uriext:pathlast uri:match="*.html">
  <rules>/static/rules/story.xml</rules>
 </uriext:pathlast>

 <uriext:pathlast uri:match="index.html">
  <rules>/static/rules/index.xml</rules>
 </uriext:pathlast>

</themeselect>
