More working tests.
[castle.git] / InversionOfControl / Castle.Windsor.Tests / Configuration2 / config_with_if_stmt.xml
blobfddf595f383dedbab81e7c1d6c11623f9ee27339
1 <?pi instruction will also be removed ?>\r
2 <!-- some comments here, this should be removed by the xsl -->\r
3 <configuration>\r
4         <define flag="debug" />\r
5         <define flag="qa" />\r
6 \r
7         <components>\r
8                 <if defined="DEBUG">\r
9                         <component id="debug">\r
10                                 <item> some value </item>\r
11                                 <item2><![CDATA[ some <&> value2 ]]></item2>\r
12                         </component>\r
13                 </if>\r
14                 <if not-defined="DEBUG">\r
15                         <component id="notdebug"/>\r
16                 </if>\r
18                 <if defined="Qa">\r
19                         <component id="qa">\r
20                         </component>\r
21                 </if>\r
22                 <if not-defined="Qa">\r
23                         <component id="notqa"/>\r
24                 </if>\r
26                 <if defined="Prod">\r
27                         <component id="prod"/>\r
28                 </if>\r
29                 <if not-defined="Prod">\r
30                         <component id="notprod"/>\r
31                 </if>\r
33                 <component id="default"/>\r
34         </components>           \r
36 </configuration>\r