Hallo auch,
xsl:choose
<xsl:when test="$Variable <= 'x'">
<xsl:call-template name="after_check">
<xsl:with-param name="ParamerterVonVariable" select="'x'" />
</xsl:call-template>
</xsl:when>
xsl:otherwise
<xsl:call-template name="after_check">
<xsl:with-param name="ParamerterVonVariable" select="$Variable" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>Hm. Spräche was dagegen, das andersrum zu schachteln?
<!-- Category: instruction -->
<xsl:call-template
name = qname>
<!-- Content: xsl:with-param* -->
</xsl:call-template>
Oder darf xsl:with-param nur als Kind von call-template benutzt werden?
Andersrum: call-template darf als Inhalt nur with-param haben.
(with-param kann als Kind auch im apply-templates vorkommen)
(w3c ist für mich im Moment nicht erreichbar - server not found - sonst tät ich in der Spec nachgucken...)
Sa bloß du hast es nicht local bei dir?!? *scnr* ;-)
Grüße
Thomas