D
DarthDaddy
I hope to explain this properly. Here is a sample section of a file I
am working with:
<achievements>
<achievement>
<item name="COURSE_COMPLETION_DATE">19930630</item>
<item name="COURSE_CODE">ADA1W0</item>
<item name="SECTION_NUMBER">33</item>
<item name="COURSE_DESC_CODE"/>
<item name="COURSE_TYPE">DS</item>
<item name="COURSE_LANGUAGE">EN_CA</item>
<item name="COURSE_PART"/>
<item name="COURSE_TITLE">DRAMATIC ARTS</item>
<item name="FINAL_MARK">75</item>
<item name="ATTEMPTED_CREDIT">01.00</item>
<item name="EARNED_CREDIT">01.00</item>
<item name="COMPULSORY_OVERRIDE">0</item>
<item name="COMPULSORY_CREDIT">01.00</item>
<item name="COMP_JR_ENG_FR_CRED"/>
<item name="COMP_SR_ENG_FR_CRED"/>
<item name="COMP_BUS_CRED"/>
<item name="COMP_TECH_CRED"/>
<item name="SUB_CODE"/>
<item name="REQ_AREA_CODE">08</item>
<item name="TRANSCRIPT_ELIG">0</item>
<item name="AREA_CONC_CODE"/>
<item name="COURSE_DROP_DATE"/>
<item name="OST_NOTE_CODE"/>
<item name="CRS_REPEAT_CHARS">6</item>
<item name="SCHOOL_GRANTING_CREDIT">771520</item>
<item name="ACH_COMMENT"/>
<item name="CREATED_DATE">19940427</item>
<item name="LAST_UPDATE_DATE">19940427</item>
</achievement>
If the following lines are exactly like this:
<item name="SECTION_NUMBER">33</item>
-and-
<item name="SCHOOL_GRANTING_CREDIT">771520</item>
then
I need to delete the entire <achievement></achievement> section. Is
this possible? Are there tools out there that do this? Maybe a script
in Visual Basic?
am working with:
<achievements>
<achievement>
<item name="COURSE_COMPLETION_DATE">19930630</item>
<item name="COURSE_CODE">ADA1W0</item>
<item name="SECTION_NUMBER">33</item>
<item name="COURSE_DESC_CODE"/>
<item name="COURSE_TYPE">DS</item>
<item name="COURSE_LANGUAGE">EN_CA</item>
<item name="COURSE_PART"/>
<item name="COURSE_TITLE">DRAMATIC ARTS</item>
<item name="FINAL_MARK">75</item>
<item name="ATTEMPTED_CREDIT">01.00</item>
<item name="EARNED_CREDIT">01.00</item>
<item name="COMPULSORY_OVERRIDE">0</item>
<item name="COMPULSORY_CREDIT">01.00</item>
<item name="COMP_JR_ENG_FR_CRED"/>
<item name="COMP_SR_ENG_FR_CRED"/>
<item name="COMP_BUS_CRED"/>
<item name="COMP_TECH_CRED"/>
<item name="SUB_CODE"/>
<item name="REQ_AREA_CODE">08</item>
<item name="TRANSCRIPT_ELIG">0</item>
<item name="AREA_CONC_CODE"/>
<item name="COURSE_DROP_DATE"/>
<item name="OST_NOTE_CODE"/>
<item name="CRS_REPEAT_CHARS">6</item>
<item name="SCHOOL_GRANTING_CREDIT">771520</item>
<item name="ACH_COMMENT"/>
<item name="CREATED_DATE">19940427</item>
<item name="LAST_UPDATE_DATE">19940427</item>
</achievement>
If the following lines are exactly like this:
<item name="SECTION_NUMBER">33</item>
-and-
<item name="SCHOOL_GRANTING_CREDIT">771520</item>
then
I need to delete the entire <achievement></achievement> section. Is
this possible? Are there tools out there that do this? Maybe a script
in Visual Basic?