The FrameMaker XML Cookbook, which accompanied FrameMaker 7.0 and, possibly, later FrameMaker installations is quite useful for learning Structured XML authoring and structured application and template design. However, be aware that in its original form it is loaded with errors of many types. I have just edited this document and made the necessary changes so that it works as Adobe probably had intended it should way back several years ago (but somehow didn't). I will post the corrected document on my own Web site in a few days (whenever I get around to it and check it for any errors of my doing).
It appears as if Adobe is still pushing this document (with all its flaws, apparently) because some reviewer of FrameMaker 8 had recently made two references to this document the past month or two in an Adobe PDF document promoting the benefits and use of FM 8. Therefore, I took the time and effort to fix its 110 PDF pages over the past weekend.