xsl-list
[Top] [All Lists]

test if node exists mandatory?

2004-07-08 01:37:50
Hello,

short question: Do I need to test if node exists before I select it? Do
I otherwise provoce an error?

            <xsl:if test="$foo//bar">
              <xsl:copy-of select="$foo//bar"/>
            </xsl:if>

Your help is welcome.

Best regards,

R.S.


<Prev in Thread] Current Thread [Next in Thread>