How to Delete from XML

Discussion in 'Classic ASP' started by Chaps, Jun 4, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hello,

    I have the following xml file and I want to be able to delete a record from it but have no idea how to do it. Specifically I would like to be able to delete all <u>completed</u> tasks the node for that in the xml below is task_done = 1 if complete = 0 if not complete. Any help would be appreciated.



    <tasks><task><task_id>1</task_id><task_name>ADM - COA</task_name><task_email>[email protected]</task_email><task_desc>Test</task_desc><task_notes>Test</task_notes><prog_notes>Test</prog_notes><task_done>0</task_done><perc_comp>0%</perc_comp><task_date>6/1/2004 4:29:29 PM</task_date></task><task><task_id>2</task_id><task_name>Test2</task_name><task_email>[email protected]</task_email><task_desc>Testing delete</task_desc><task_notes>How do I delete</task_notes><prog_notes>Deleting.</prog_notes><task_done>1</task_done><perc_comp>100%</perc_comp><task_date>6/4/2004 8:46:52 AM</task_date></task></tasks>

    Thanks
    Chaps
     
  2. Wow I guess this is more difficult then I thought.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page