1 Reply Latest reply on Oct 1, 2007 3:10 AM by kittuokkade

    escaping xml string

    kittuokkade Level 1
      how to escape <,> in xml string to &lt; , &gt;.is it possible to convert the entire xml string into this format
      ex:
      <root> <sample><id> 89 </id></sample></root>
      this has to be converted into

      &lt; root&gt;. &lt; sample&gt;. &lt; id&gt;. 89 &lt; /id&gt;. &lt; /sample&gt;. &lt; /root&gt;.