Chapter 2: Understanding the DataBean Framework
Creating an XML document from instances of Recipe class
FileOutputStream foStream = new FileOutputStream (xmlFileName);
oRecipe.serializeXML(foStream);