I have an EXTREMELY large document following this structure (>5,000 instances of this):
<Questions>
<QuestionID>558013</QuestionID>
<Question>All of the following materials are categorized as <chr8220>fine art<chr8221> EXCEPT</Question>
<Answer1>textiles</Answer1>
<Answer2>paintings</Answer2>
<Answer3>drawings</Answer3>
<Answer4>sculptures</Answer4>
<Answer5>architecture</Answer5>
<AnswerGuide>Textile is not included in the category of fine art. Traditionally, textiles have been categorized as craft art.</AnswerGuide>
<TypeID>1</TypeID>
<Source>6,1,3</Source>
<Footnote />
<CardTypeID>0</CardTypeID>
<Year>2016</Year>
<SubjectID>41</SubjectID>
<QuesNumber>4</QuesNumber>
<AuxNum>4</AuxNum>
<RandList>43512</RandList>
<ResourceTypeID>382</ResourceTypeID>
<TreeKey>01/01/01/</TreeKey>
<TestID>41901</TestID>
<DiffShort>N</DiffShort>
<CardType />
</Questions>
I have no need for fields TypeID through CardType, and it would make it far easier to remove those fields. Currently, I'm just using Notepad ++ to edit this XML, and can't figure out an easy way to remove all of those fields and their contents. Is it possible to do so? Ideally, it would simplify the above to:
<Questions>
<QuestionID>558013</QuestionID>
<Question>All of the following materials are categorized as <chr8220>fine art<chr8221> EXCEPT</Question>
<Answer1>textiles</Answer1>
<Answer2>paintings</Answer2>
<Answer3>drawings</Answer3>
<Answer4>sculptures</Answer4>
<Answer5>architecture</Answer5>
<AnswerGuide>Textile is not included in the category of fine art. Traditionally, textiles have been categorized as craft art.</AnswerGuide>
</Questions>