[ic] xml-generator prints last tag
Kevin Walsh
kevin at cursor.biz
Fri Sep 29 11:51:16 EDT 2006
"graham hadgraft" <graham.hadgraft at gmail.com> wrote:
> I cant appear to get the xml-generator tags to work the tag source has
> been placed into usertags as it appeared not to exist befor despite
> the documentation sayinmg its included with 4.8 and above.
>
> The following code:
>
> [xml-generator type="values scratch source" values="fname lname"
> scratch="downloads"][/xml-generator]
>
> This appears on the page and nothing else:
>
> [/xml-generator]
>
That tag was removed from Interchange a long time ago (4.8.0, I think).
I've heard of the tag, but have never used it.
Apparently, you should be able to do this (in 4.8.0):
[value name=test1 set=foo hide=1]
[value name=test2 set=bar hide=1]
[xml-generator type=values values="test1 test2"]
Perhaps you forgot to set the values.
>
> Why would it appear to recognise the first tag and not the closing tag.
>
Probably because [xml-generator] is not a container tag and therefore
no closing tag marker is expected.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list