[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Good morning! (or afternoon, I guess, in the UK).
On 9/7/06, David Carlisle <davidc@xxxxxxxxx> wrote:
Well, trying this, I find a problem in that my expression
<xsl:for-each select="//program[tv:title = $matcher]/@id">
Re: [xsl] Relationships in for-each statement
Subject: Re: [xsl] Relationships in for-each statement From: "Bob Portnell" <simply.bobp@xxxxxxxxx> Date: Fri, 8 Sep 2006 08:44:48 -0700 |
Good morning! (or afternoon, I guess, in the UK).
On 9/7/06, David Carlisle <davidc@xxxxxxxxx> wrote:
> . How would I implement keys to clean up and speed up this expression?
the expression is of the form //something[path/to/@attribute=expression] which is exactly (more or less:-) the meaning of key('k',expression) if you first go <xsl:key name="k" match="something" use="path/to/@attribute"/>
Well, trying this, I find a problem in that my expression
<xsl:for-each select="//program[tv:title = $matcher]/@id">
isn't really in that form. I suspect, short of actually throwing the entire sheet in here for inspection, that I've hit the end of the road for this one.
Bob Portnell simply.bobp@xxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Relationships in for-each, David Carlisle | Thread | Re: [xsl] Relationships in for-each, David Carlisle |
Re: [xsl] Replace new lines by <br>, David Carlisle | Date | Re: [xsl] Relationships in for-each, David Carlisle |
Month |