cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Juergen Hermann)
Subject Re: advice
Date Fri, 10 Mar 2000 00:01:52 GMT
On Thu, 09 Mar 2000 17:41:55 -0600, Mike Engelhart wrote:

>Juergen Hermann wrote:
>> <xsl:variable
>> name="times"><8a>8:00am</8a><9a>...</xsl:variable>
>actually I think this (even if the element tags were valid) is >illegal.

It was a rough sketch, but the real problem lies in the use of for-each
I think (did not use for-each much until now). The element name issue
is easliy fixed by <timeselect key="8a">...

What I am sure about (after reading xsl-list for a while :) is that a
variables can contain MARKUP content (document sub-trees), not just
text or numbers like you find in "normal" languages.

BTW, you could also load a "time.xml" external definition of the time
select values by use of document(). I think <for-each
select="document(some-url)/*">... would be the syntax for that.

Ciao, J├╝rgen

View raw message