3 Replies Latest reply on Jan 21, 2009 1:58 PM by flexstone

    check XML for CDATA

    dev_flex
      Hello,

      I have an XML document with the following structure -
      <test>
      <![CDATA[123 345 6677 777]]>
      </test>

      there is a variable mydoc which references to the above xml document.
      How do I test if the CDATA section is empty? Can I do something like -

      mydoc.test.cdata == null or something of that sort?
      Thanks!