From: Martin Hart Date: 2002-12-19T21:35:41+09:00 Subject: Amrita Question - using a() with nested elements Hello all, Just downloaded Amrita and playing with it - looks really cool so far! I have a couple of static (i.e. no dynamic data) web sites that share a common structure (framesets and the like) and I thought I'd have a go at specifying the structure using Amrita, and then provide variable content for the sites. I am having some difficulty applying the information provided in the docs to a specific problem: Given the following template: I am having trouble seeing how I provide data for this template. I originally started with: data = { :frameSet => a(:cols => "*,1,*"), :blankFrame => a(:src => "blank.html"), :dataFrame => a(:src => "data.html"), } This doesn't work (the blankFrame and dataFrame items are not replaced) because amrita seems to be looking for children of :frameSet to find :blankFrame and :dataFrame. Now I can see how I could do it, if I embedded some of the template into the data (e.g): data = { :frameSet => { a(:cols => "*,1,*") { "