# Remove line

**URL:** <https://forum.kirupa.com/t/remove-line/125831>\
**Category:** Uncategorized\
**Created:** [October 18, 2004, 5:22am UTC](https://forum.kirupa.com/t/remove-line/125831 "2004-10-18T05:22:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frg10](https://avatars.discourse-cdn.com/v4/letter/f/439d5e/32.png) [@Frg10](https://forum.kirupa.com/u/Frg10)\
**Post date:** [October 18, 2004, 5:22am UTC](https://forum.kirupa.com/t/remove-line/125831/1 "2004-10-18T05:22:04Z")

</div>

hi all, am wondering if someone bumped into this problem. am loading xml to flash. i have 2 xml files, courses.xml and history.xml. i have done the history part where i add the courses done (write and save the xml). now, the courses has all the lists of the courses that can be run by a user, when the course is done the line of that specific course should be out of the lists. this is how it looks on flash after loading the courses.xml:

\<item course=“ex01” lesson=“les01” startDate="" startTime=“00:00:00” /\>

\<item course=“ex02” lesson=“les02” startDate="" startTime=“00:00:00” /\>

after taking the (e.g.) ex01, am looking for a command that does this:

- check the course done (can do)
- check which line that course appears
- remove that line
- save the xml file (can do)

hope that explains a lot.
