[Home] [By Thread] [By Date] [Recent Entries]

Subject: test if node exists mandatory?
From: "Robert Soesemann" <rsoesemann@xxxxxxxxxxx>
Date: Thu, 8 Jul 2004 10:37:50 +0200
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.

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member