[ic] Tags inside tags

Kevin Walsh interchange-users@icdevgroup.org
Mon Oct 28 12:49:48 2002


> 
> Is there any way to do something like this:
>      [item-field [scratch var]]
> where var holds the name of the field wanted.
> 
Due to the "looping tag" parsing order and other syntax-related rules,
you cannot use [item-field] in this way.  Try the following instead:

    [data table="products" column="[scratch var]" key="[item-code]"]

Of course, this will use the "products" table, or whatever you specify,
instead of following the rules documented for the [PREFIX-field] tag.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/