Make your own free website on

Enterprise Project
About Enhydra Enterprise
Project Mail Lists
Working Groups

CVS Repositories

Who We Are
News, Articles & Events
Getting Involved
Contact Us

Case Studies
On The Edge! -NEW-
Commercial Vendors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Designers: Dynamic HTML...template Columns???

On Monday 19 March 2001 17:06, you wrote:
> Hi,
> I've been Enhydra using for a few weeks now and have been happily using the
> "template-row" technique with XMLC to generate Dynamic tables...BUT now I
> am in a situation where I must generate <td> "templates" dynamically. ie.
> Dynamic *columns* of data (the number of rows in each table is static AFAIK
> at present!).
> I was wondering if there was any way to do this in a similar fashion to
> template rows?...

Sure it is. XMLC doesn't care in the least if the template "row" is really a 
<tr>, a <li>, a <td> - as in your case - or some other tag. Simply use the 
<td> as "row template", <span> or something similar for the "columns", and do 
the fill columns/clone template/insert copy routine as usual. If you use the 
same ID, you don't even have to change the code ;-)

Example HTML:

<td id="MyTemplate">Dynamic column # <span id="ColNo">??</span></td>

It's a bit more tricky if you want to fill in a dynamic row with a number of 
dynamic columns (basically, you need to make sure that the row template is 
cleared before you start the next row), but even that is doable ;-)

Hope this helps,

Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 249 600, Fax.: +49 6102 247 970,
To unsubscribe from this mailing list, send email to
with the text "unsubscribe designers" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at