4 Replies Latest reply on May 20, 2008 2:03 AM by Freestyle MD

    How do I test for empty XML Node ?

    Freestyle MD
      if (selectedImage.detail != "")

      works with
      <image detail="">
      </image>

      but not

      <image>
      <detail></detail>
      </image>


      Hope that makes sense to someone, can't really think how to explain it any better, I'm sure it's a simple enough thing