Added RedirectUsingNamedRoute
[castle.git] / InversionOfControl / Castle.Windsor.Tests / XmlProcessor / TestFiles / IfStatementTest.xml
blob11f832f270863e6e83c5c5a060844baee5af0498
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         <properties>\r
7                 <prop1>prop1value</prop1>\r
8         </properties>\r
9 \r
10         <components>\r
11                 <if defined="DEBUG">\r
12                         <component id="debug" att="#{prop1}">\r
13                                 <item> some value </item>\r
14                                 <item2><![CDATA[ some <&> value2 ]]></item2>\r
15                         </component>\r
16                 </if>\r
17                 <if not-defined="DEBUG" att="#{prop1}">\r
18                         <component id="notdebug"/>\r
19                 </if>\r
21                 <if defined="Qa">\r
22                         <component id="qa" att="#{prop1}"/>\r
23                 </if>\r
24                 <if not-defined="Qa">\r
25                         <component id="notqa" att="#{prop1}"/>\r
26                 </if>\r
28                 <if defined="Prod">\r
29                         <component id="prod" att="#{prop1}"/>\r
30                 </if>\r
31                 <if not-defined="Prod">\r
32                         <component id="notprod" att="#{prop1}"/>\r
33                 </if>\r
35                 <component id="default" att="#{prop1}"/>\r
36         </components>           \r
38 </configuration>\r