Hallo,
Danke für die Antwort ... am ende funktioniert es aber ...
Aber was - was aber?
<button>
xsl:attribute type="button"
name="onclick">Test('<xsl:value-of
select="titel"/>',this.form.anzahl.value,'<xsl:value-of
select="preis"/>')</xsl:attribute>
<img src="bilder/icon1.gif" width="19" height="19" border="0"/>
</button>
^^^
So wird das sicher nicht funktionieren. xsl:attribut hat selbst kein Attribut type und davor fehlt ein <-Zeichen. Eher so wird etwas daraus:
<button type="button">
<xsl:attribute name="onclick">
<!-- ... -->
</xsl:attribute>
</button>
MfG, Thomas