Fixing previous commit, using correct case for CaptureFor and removing the component...
[castle.git] / InversionOfControl / Castle.Windsor.Tests / Configuration2 / Properties / config_with_properties_and_defines.xml
blobf2f7886b027f9f47c9ca110faec946f802bad71a
1 <?xml version="1.0" encoding="utf-8" ?> \r
2 <configuration>\r
3 \r
4         <define flag="OK"/>\r
5 \r
6         <properties>\r
7           <prop0>prop0 value</prop0>\r
8           <if defined="OK">\r
9                 <prop1>prop1 value</prop1>\r
10                 <prop2>prop2 value</prop2>\r
11           </if>\r
12         </properties>\r
14         <facilities>\r
15         \r
16                 <facility id="facility1" >\r
17                         <item>#{prop1}</item>\r
18                 </facility>\r
20                 <facility id="facility2" >\r
21                         <item value="#{prop2}"/>\r
22                 </facility>\r
24                 <facility id="facility3">\r
25                         <param1 attr="#{prop1}">#{prop2}</param1>\r
26                         <param2 attr="#{prop2}">#{prop1}</param2>\r
27                         <param3 attr="param3 attr"><value attr="param3 value attr">param3 value</value></param3>\r
28                 </facility>     \r
29         </facilities>\r
31         <components>\r
32         \r
33                 <component id="component1">\r
34                         <item>#{prop1}</item>\r
35                 </component>\r
36                 \r
37                 <component id="component2">\r
38                         <item value="#{prop2}"/>\r
39                 </component>\r
40                 \r
41         </components>\r
43 </configuration>\r