JavaWorld SAX Tutorial April 2000
001 <?xml version="1.0"?>
002 
003 <!DOCTYPE Recipe SYSTEM "example.dtd">
004 
005 <Recipe>
006    <Description>My grandma's favorite (may she rest in peace.)</Description>
007    <Ingredients>
008       <Ingredient vegetarian="false">
009          <Qty unit="box">1</Qty>
010          <Item>lime gelatin</Item>
011       </Ingredient>
012       <Ingredient vegetarian="false">
013          <Qty unit="g">500</Qty>
014          <Item>multicolored tiny marshmallows</Item>
015       </Ingredient>
016       <Ingredient vegetarian="false">
017          <Item>Cottage cheese</Item>
018          <Qty unit="ml">500</Qty>
019       </Ingredient>
020       <Ingredient>
021          <Qty unit="dash"/>
022          <Item optional="true">Tabasco sauce</Item>
023       </Ingredient>
024       <Ingredient>
025          <Item>Horseradish to taste</Item>
026       </Ingredient>
027    </Ingredients>
028    <Instructions>
029       <Step>
030 Prepare lime gelatin according to package instructions.
031       </Step>
032       <Step>
033 Come to your senses.
034       </Step>
035       <Step>
036 Discard all ingredients.
037       </Step>
038       <Step>
039 Go to Ben & Jerry's.
040       </Step>
041    </Instructions>
042 </Recipe>