| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
|
| 4 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 5 |
contributor license agreements. See the NOTICE file distributed with |
| 6 |
this work for additional information regarding copyright ownership. |
| 7 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 8 |
(the "License"); you may not use this file except in compliance with |
| 9 |
the License. You may obtain a copy of the License at |
| 10 |
|
| 11 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
|
| 13 |
Unless required by applicable law or agreed to in writing, software |
| 14 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 15 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 |
See the License for the specific language governing permissions and |
| 17 |
limitations under the License. |
| 18 |
|
| 19 |
--> |
| 20 |
<!-- START SNIPPET: xml --> |
| 21 |
<b:blueprint xmlns:b="http://www.osgi.org/xmlns/blueprint/v1.0.0" |
| 22 |
xmlns:foo="http://acme.com"> |
| 23 |
|
| 24 |
<p:restaurant b:id="restaurant" xmlns:p="http://xbean.apache.org/schemas/pizza" |
| 25 |
p:serviceName="foo:xyz"> |
| 26 |
<p:dinnerMenu> |
| 27 |
<p:pizza p:myTopping="Ham" p:cheese="Mozzarella" p:size="15"/> |
| 28 |
<b:bean class="org.apache.xbean.blueprint.example.PizzaService"> |
| 29 |
<b:property name="topping" value="Eggs"/> |
| 30 |
<b:property name="cheese" value="Mozzarella"/> |
| 31 |
<b:property name="size" value="16"/> |
| 32 |
</b:bean> |
| 33 |
</p:dinnerMenu> |
| 34 |
|
| 35 |
<p:snackMenu> |
| 36 |
<p:pizza p:myTopping="Tofu" p:cheese="Parmesan" p:size="6"/> |
| 37 |
<p:pizza p:myTopping="Prosciutto" p:cheese="Blue" p:size="8"/> |
| 38 |
</p:snackMenu> |
| 39 |
|
| 40 |
<p:lunchMenu> |
| 41 |
<b:bean xmlns="" class="org.apache.xbean.blueprint.example.PizzaService"> |
| 42 |
<b:property name="topping" value="Chicken"/> |
| 43 |
<b:property name="cheese" value="Brie"/> |
| 44 |
<b:property name="size" value="17"/> |
| 45 |
</b:bean> |
| 46 |
</p:lunchMenu> |
| 47 |
|
| 48 |
<p:favourite> |
| 49 |
<bean xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" class="org.apache.xbean.blueprint.example.PizzaService"> |
| 50 |
<property name="topping" value="Salami"/> |
| 51 |
<property name="cheese" value="Edam"/> |
| 52 |
<property name="size" value="17"/> |
| 53 |
</bean> |
| 54 |
</p:favourite> |
| 55 |
</p:restaurant> |
| 56 |
</b:blueprint> |
| 57 |
<!-- END SNIPPET: xml --> |