Hey all, I have a question concerning XSLT. I have a xml document containing a couple nodes. I now need to know if the value of one node is not 0 or null, perform some other xslt or if the value is 0 or null perform some other xslt.
Anyone has some Idea?
Heres the structure of my xml:
<result>
<id>1234</id>
<name>testname</name>
<value>0</value>
</result>
And thats what I have up till now with my XSLT:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl=" <xsl:template match="result">
<HTML>
<HEAD>
<TITLE> </HEAD>
<BODY>
//this is where I need to do the If / else
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
Thanx in advance,
Stephan
Anyone has some Idea?
Heres the structure of my xml:
<result>
<id>1234</id>
<name>testname</name>
<value>0</value>
</result>
And thats what I have up till now with my XSLT:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl=" <xsl:template match="result">
<HTML>
<HEAD>
<TITLE> </HEAD>
<BODY>
//this is where I need to do the If / else
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
Thanx in advance,
Stephan