Re: expandble list in XSL

Subject: Re: expandble list in XSL
From: Dan Morrison <dman@xxxxxxxx>
Date: Fri, 31 Mar 2000 01:43:31 +1200
Johan Andreasson wrote:
> 
> 1. I get an error message in IE5 that says it's not allowed to to put
> <xsl:value-of> within an attribute, is this because of the '<' char or is
> the whole line forbidden?

Use the xsl:attribute syntax. You didn't provide your xsl, so I can't
say how to apply it.

> 2. Here, the script has to have one varable for each item in the list. How
> can this be solved in XSL? Could it be done as a vector declaration?

It would probably be easiest if your source doc could define it's own id
attributes, or names in the first case.
Then you can run foreach over your items whenever you need the
repetition.
There are XSL ways of numbering, but my platform doesn't do that yet, so
I can't suggest.

nice example BTW.

.dan. 
-- 
:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  021 115 7339       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread