From: Carl Youngblood Date: 2003-12-20T04:21:54+09:00 Subject: Re: Amrita question(s) I checked out the amrita mailing list and the archives seem to indicate that it is defunct. So I think that this is the next most closely related list for stuff like this. At least, this has been my assumption. I think the answer to #1 is yes. If you just want text of some kind and no other formatting, or if formatting has been declared elsewhere already, then span is what you want to use. The answer to #2, is that this is what amrita does by default. If you want to keep the unfound tags in, you have to set template.keep_id to true ("template" here is an instance of TemplateFile). However, your example is showing something slightly different. I would do something like: in my template file and then just data[:name] = 'Name: Joe Blow' That way you get all or nothing. Michael Campbell wrote: > First off, is this the place to ask? If not, apologies, and please > point me to the right spot. > > 2 questions: > > 1 Is "span" the recommended way of dumping an element outside of any > other tags, when no formatting is required (nor desired)? > > 2 Is there a way to mask out non-data elements if a data-element > doesn't exist? > > Suppose I have in my html: > > Name: > > I don't want "Name:" to show if the :name id doesn't exist. I'm sure > I'm overlooking something fundamental here, but I've just started so > not sure where to look. > > Thanks, > > Michael > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > >