XSLT: Il nodo esiste?

Come accertarsi dell'esistenza di uno specifico nodo:

<xsl:choose>
    <xsl:when 
test="NodeName">
        
Exists
    
</xsl:when>
    <xsl:otherwise>
        
Not Exists
    
</xsl:otherwise>
<
/xsl:choose>

Google's Words: Node exists xslt

powered by IMHO 1.2 with Emoticon Formatter

Print | posted on giovedì 3 marzo 2005 12:48

Copyright © Gabriele Gaggi

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski