A
adrian
Hi
I'm having the following problem:
im my xml file there is an element called <gebdatum>22.09.79</gebdatum>
(date of birth in english). this might be full (like in the example) or
empty.
in case it is empty I want to have some text saying that this data is
missing.
I tried like this but it only shows me that text "Keine Daten
vorhanden", but not the data where it exists:
_____________________________________________
<xsl:for-each select="gebdatum">
<xsl:if test="gebdatum=(.!='') ">
<font color="green">Keine Daten vorhanden!</font>
</xsl:if>
<xsl:if test="gebdatum!=(.!='') ">
<xsl:value-of select="gebdatum"/>
</xsl:if>
</xsl:for-each>
_______________________________________
I've also tried with
<choose>
<when>
</when>
<otherwise>
</otherwise>
<choose/>
and it didn't work too
What am I doing wrong?
Any help kindly regarded.
adrian
I'm having the following problem:
im my xml file there is an element called <gebdatum>22.09.79</gebdatum>
(date of birth in english). this might be full (like in the example) or
empty.
in case it is empty I want to have some text saying that this data is
missing.
I tried like this but it only shows me that text "Keine Daten
vorhanden", but not the data where it exists:
_____________________________________________
<xsl:for-each select="gebdatum">
<xsl:if test="gebdatum=(.!='') ">
<font color="green">Keine Daten vorhanden!</font>
</xsl:if>
<xsl:if test="gebdatum!=(.!='') ">
<xsl:value-of select="gebdatum"/>
</xsl:if>
</xsl:for-each>
_______________________________________
I've also tried with
<choose>
<when>
</when>
<otherwise>
</otherwise>
<choose/>
and it didn't work too
What am I doing wrong?
Any help kindly regarded.
adrian