[ic] delimiter for tag parameters

Stefan Hornburg racke at linuxia.de
Thu Oct 27 04:23:06 EDT 2005


On Thu, 27 Oct 2005 08:22:06 +0100
"Kevin Walsh" <kevin at cursor.biz> wrote:

> Ron Phipps [rphipps at reliant-solutions.com] wrote:
> > Sorry to have so much issue with understanding this.  I'm still confused
> > how the two differ. 
> > 
> > We've determined that the following will result in incorrect syntax when
> > the title contains quotes: 
> > 
> > [mytag title="[item-field title]"]
> > 
> > Why does the following not result in incorrect syntax:
> > 
> > [tmpn title][item-field title][/tmpn]
> > [mytag title="[scratch title]"]
> > 
> > Does Interchange handle [item-field title] and [scratch title]
> > differently? 
> > 
> > Perhaps [item-field title] is simply replaced with its value and
> > [scratch title] actually passes it's value differently?
> >
> Yes - that's right.  The [item-field title] is just a marker
> that's replaced by the looping tag with a regex.  [scratch title]
> is a "proper" tag that's interpolated.  The replacement could lead
> to syntax errors in the subsequent interpolation run, as you fount.

Technically this is correct, the rule of thumb is that
looping tags are interpolated before any regular tag.

Bye
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team



More information about the interchange-users mailing list