How to remove a node from Xml using Xslt

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Using Xslt, how can I remove the <Date> node from the Xml below:
<TheXml><br/>
<ThePhrases><br/>
<Phrase><br/>
<PhraseCode>test</PhraseCode><br/>
<PhraseData File="text.xml" QC="1 <br/>
<Amount>$113,110.00</Amount><br/>
<Date>4-22-1985</Date><br/>
</PhraseData><br/>
</Phrase><br/>
</ThePhrases><br/>
</TheXml>

I am trying to get the below result:
<TheXml><br/>
<ThePhrases><br/>
<Phrase><br/>
<PhraseCode>test</PhraseCode><br/>
<PhraseData File="text.xml" QC="1 <br/>
<Amount>$113,110.00</Amount><br/>
</PhraseData><br/>
</Phrase><br/>
</ThePhrases><br/>
</TheXml>



View the full article
 
Back
Top