example.xml JavaWorld JavaBeans December 1999
001 <?xml version="1.0"?>
002 
003 <Recipe>
004    <Name>Lime Jello Marshmallow Cottage Cheese Surprise</Name>
005    <Description>My grandma's favorite (may she rest in peace.)</Description>
006    <Ingredients>
007       <Ingredient>
008          <Qty unit="box">1</Qty>
009          <Item>lime gelatin</Item>
010       </Ingredient>
011       <Ingredient>
012          <Qty unit="g">500</Qty>
013          <Item>multicolored tiny marshmallows</Item>
014       </Ingredient>
015       <Ingredient>
016          <Qty unit="ml">500</Qty>
017          <Item>Cottage cheese</Item>
018       </Ingredient>
019       <Ingredient>
020          <Qty unit="dash"/>
021          <Item optional="1">tabasco sauce</Item>
022       </Ingredient>
023    </Ingredients>
024    <Instructions>
025       <Step>
026 Prepare lime gelatin according to package instructions...
027       </Step>
028       <!-- And so on... -->
029    </Instructions>
030 </Recipe>