comparison artifacts/doc/conf/themes.xml @ 6103:4bbf2ef9bdd8

Themes: Reunited the small parts of default and second theme to default.xml and second.xml again to have valid XML. This is a bit of a pity because the small parts had a better understandable structure. To generate the overview use: $ xsltproc \ contrib/themes2html.xsl \ doc/conf/themes.xml \ > themes.xhtml To make this work you have to create a symlink in conf to itself: $ (cd doc/conf && ln -s . conf) TODO: We have to introduce a EntityResolver in the server code to make the inclusion independent of the current working dir of the server.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sat, 25 May 2013 20:55:11 +0200
parents 621c76fe6b6e
children 2a4ff87ef357
comparison
equal deleted inserted replaced
6102:29dc6b6e7199 6103:4bbf2ef9bdd8
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE themes [ 2 <!DOCTYPE themes [
3 <!ENTITY virtual-themes SYSTEM "conf/themes/virtual.xml"> 3 <!ENTITY virtual-themes SYSTEM "conf/themes/virtual.xml">
4 <!ENTITY general SYSTEM "conf/themes/default/general.xml"> 4 <!ENTITY default-themes SYSTEM "conf/themes/default.xml">
5 <!ENTITY longitudinal-section SYSTEM "conf/themes/default/longitudinal-section.xml"> 5 <!ENTITY second-themes SYSTEM "conf/themes/second.xml">
6 <!ENTITY cross-section SYSTEM "conf/themes/default/cross-section.xml">
7 <!ENTITY discharge SYSTEM "conf/themes/default/discharge.xml">
8 <!ENTITY duration SYSTEM "conf/themes/default/duration.xml">
9 <!ENTITY fixings SYSTEM "conf/themes/default/fixings.xml">
10 <!ENTITY floodmap SYSTEM "conf/themes/default/floodmap.xml">
11 <!ENTITY historical-discharge SYSTEM "conf/themes/default/historical-discharge.xml">
12 <!ENTITY reference SYSTEM "conf/themes/default/reference.xml">
13 <!ENTITY sq-relation SYSTEM "conf/themes/default/sq-relation.xml">
14
15 <!ENTITY general_sec SYSTEM "conf/themes/second/general.xml">
16 <!ENTITY longitudinal-section_sec SYSTEM "conf/themes/second/longitudinal-section.xml">
17 <!ENTITY cross-section_sec SYSTEM "conf/themes/second/cross-section.xml">
18 <!ENTITY discharge_sec SYSTEM "conf/themes/second/discharge.xml">
19 <!ENTITY duration_sec SYSTEM "conf/themes/second/duration.xml">
20 <!ENTITY fixings_sec SYSTEM "conf/themes/second/fixings.xml">
21 <!ENTITY floodmap_sec SYSTEM "conf/themes/second/floodmap.xml">
22 <!ENTITY historical-discharge_sec SYSTEM "conf/themes/second/historical-discharge.xml">
23 <!ENTITY reference_sec SYSTEM "conf/themes/second/reference.xml">
24 <!ENTITY sq-relation_sec SYSTEM "conf/themes/second/sq-relation.xml">
25 ]> 6 ]>
26 <themes> 7 <themes>
27 &virtual-themes; 8 &virtual-themes;
28 9 &default-themes;
29 <themegroup name="default"> 10 &second-themes;
30 &longitudinal-section;
31 &cross-section;
32 &discharge;
33 &duration;
34 &fixings;
35 &floodmap;
36 &historical-discharge;
37 &reference;
38 &sq-relation;
39 &general;
40 </themegroup>
41 <themegroup name="second">
42 &longitudinal-section_sec;
43 &cross-section_sec;
44 &discharge_sec;
45 &duration_sec;
46 &fixings_sec;
47 &floodmap_sec;
48 &historical-discharge_sec;
49 &reference_sec;
50 &sq-relation_sec;
51 &general_sec;
52 </themegroup>
53 11
54 <!-- Mappings are following now. A mapping maps between a name of a facet 12 <!-- Mappings are following now. A mapping maps between a name of a facet
55 and a theme. Always the first matching mapping is taken, so consider putting 13 and a theme. Always the first matching mapping is taken, so consider putting
56 most specific mappings on top of the list. --> 14 most specific mappings on top of the list. -->
57 <mappings> 15 <mappings>

http://dive4elements.wald.intevation.org