Hallo,
irgendwie funktioniert contains() bei mir nicht ???
Ich habe folgendes XML:
<queryselect tag="para.portal" text="welches Portal ? : ">
<option>
<id>www.irgendwas.de</id>
<name>www.irgendwas.de</name>
</option>
<option>
<id>info.irgendwas.de</id>
<name>info.irgendwas.de</name>
</option>
</queryselect>
und mein XSLT sieht wie folgend aus:
<xsl:template match="queryselect">
..........
<option value="0">- Select -</option>
<xsl:if test="contains(id,'www')">
<option value="{id}">
<xsl:value-of select="name" />
</option>
</xsl:if>
Ergebnis: nichts er findet keine Einträge obwohl welche www enthalten ?
Jemand eine Idee ???
Danke Gruss Azubi