Subject: Re: [xsl] xtvd grouping problem (I think) From: Steve <subsume@xxxxxxxxx> Date: Fri, 8 Sep 2006 16:51:07 -0400 |
for each search item find the set of programs which have that item convert this to the set of schedule items which have those programs for each in the schedule set sort by time report the show information.
<xsl:for-each $progSet/items[@item=@search]/@prog> <xsl:variable name="prog" select="@prog" /> <xsl:for-each $scheduleSet[@prog = $prog]/@prog> <xsl:sort select="@time" /> <xsl:value-of select="@showInfo" </xsl:for-each> </xsl:for-each>
Given a variable $progSet which has a bunch of <programs> in it, how do I define a $schedSet which has only <schedule> items containing @program ids from $progSet?
I've gotten as far as <xsl:variable name="schedSet" select="//schedule[@program . . {sound of screeching brakes}? />
Please excuse where I've strayed from proper XSLT vocabulary; I hope my intent is clear enough despite such lapses of inexperience.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xtvd grouping problem (I thin, Bob Portnell | Thread | Re: [xsl] xtvd grouping problem (I , Bob Portnell |
Re: [xsl] Incorrectly working libxs, Max | Date | Re: [xsl] xtvd grouping problem (I , Bob Portnell |
Month |