0 Replies Latest reply on Jul 20, 2009 4:53 PM by funandlearning333

    Deleting a node's element from XML structure

    funandlearning333 Level 1

      Hi All,

       

      Can anyone please help me on finding out how to delete an element with element id courses.specialization2 in the following XML structure?

       

      <?xml version="1.0" encoding="UTF-8" ?>
         <error>
           <pages>
             <page descr="Specialization" id="specialization_name">
               <elements>
                 <element>
                   <element_id>
      specialization.specialization_name
                   </element_id>
                   <descr>
      Specialization Name:
                   </descr>
                   <required>
      required field
                   </required>
                 </element>
               </elements>
             </page>
             <page descr="Courses" id="courses_plan">
               <elements>
                 <element>
                   <element_id>
      courses.specialization1
                   </element_id>
                   <descr>
      Specialization1:
                   </descr>
                   <required>
      required field.
                   </required>
                 </element>
                 <element>
                   <element_id>
      courses.specialization2
                   </element_id>
                   <descr>
      Specialization1:
                   </descr>
                   <required>
      required field.
                   </required>
                 </element>
               </elements>
             </page>
           </pages>
         </error>

       

      Thanks