Mukul Gandhi <gandhi.mukul <at> gmail.com> writes:

> 
> This looks a bit odd ...
> 
> You have:
> 
> <xsl:variable name="fragment">
>    <xsl:for-each select="$fragment">
>       ...
>    </xsl:for-each>
> </xsl:variable>
> 
> You have a variable 'fragment'. You assign some contents to it (using
> xsl:for-each). Since the variable still isn't assigned a value, how
> can you do <xsl:for-each select="$fragment"> at this position?
> 
> This would have been right:
> 
> <xsl:variable name="fragment">
>    <xsl:copy-of select="key(...)"/>
> </xsl:variable>
> 
> 
Sorry, I should have written 
...
<xsl:for-each select="$external">
...
(didn't paste)

Regards
Peter


Reply via email to