0 Replies Latest reply on Mar 19, 2008 2:02 AM by (Suresh)

    Capture content with markup element

    Level 1
      Hi All,

      I struck with capturing the content with markuptag within that content.
      For Eg;

      <p> xxxx<i>ssdf</i>sdfasdfas<b>sdfasdfas</b>asfdgsadfasd</p>

      Here i want to capture the contents of Element "p" with the markuptags "i, /i, b, /b"

      I am using the statement like

      var myString = myXMLElement.texts.item(0).contents;

      Pls. help me out to find a solution for this.