Hey,
I have a question that has been bothering me -- are #1 and #2 below
equivalent? If not, why not? I'm guessing it has to do with
xsl:with-param focus. I'm only getting desired results with approach
#1.
#1
<xsl:for-each select="$modes">
<xsl:variable name="selected" select="(@rdf:about, @rdf:nodeID) =
'&gc;MapMode'"/>
<xsl:apply-templates select="." mode="gc:OptionMode">
<xsl:with-param name="selected" select="$selected"/>
</xsl:apply-templates>
</xsl:for-each>
#2
<xsl:apply-templates select="$modes" mode="gc:OptionMode">
<xsl:with-param name="selected" select="(@rdf:about, @rdf:nodeID)
= '&gc;MapMode'"/>
</xsl:apply-templates>
Martynas
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--