Hi, der Azubi hat mal wieder eine Frage...
ich hoffe ihr könnt mir helfen...
hier mein Code:
<input type="submit" id="{@tag}_btnUpload" value="Upload" disabled=""/>
<xsl:if test="/xmlContent/para.file.war = warfile.txt">
<xsl:attribute name="disabled">
<xsl:value-of select="yes" />
</xsl:attribute>
</xsl:if>
Ich möchte hier überprüfen ob im Element /xmlContent/para.file.war der Inhalt warfile.txt steht , wenn ja soll im Input Tag dann disabled="yes" stehen...
Problem zum einen ist , dass die If Bedingung nicht erfüllt wird obwohl sie es ja ist....
und dann bekomme ich den Wert yes nicht an disabled übergeben...
??? bin hilflos...