Logo of Bento frameworkspaceObject Oriented Programming


Example XML for ConfigPerHost


<config-per-host>

   <config>
      <host>foo.com</host>
         <string>
            <key>title4website</key>
            <value>Title for foo.com</value>
         </string>
         <int>
            <key>price</key>
            <value>50</value>
         </int>
         <double>
            <key>vat</key>
            <value>0.10</value>
         </double>
         <boolean>
            <key>debug</key>
            <value>true</value>
         </boolean>
   </config>

   <config>
      <host>bar.com</host>
         <string>
            <key>title4website</key>
            <value>Title for bar.com</value>
         </string>
         <int>
            <key>price</key>
            <value>100</value>
         </int>
         <double>
            <key>vat</key>
            <value>0.20</value>
         </double>
         <boolean>
            <key>debug</key>
            <value>false</value>
         </boolean>
   </config>

   <config>
      <host>*</host>
         <string>
            <key>copyright</key>
            <value>2005</value>
         </string>
   </config>

</config-per-host>


Copyright © 1997-2007 OOP-Research CorporationTM, All Rights Reserved.