Discard html tags within custom tags while getting text in XHTML using SAX Parser in Groovy
So I am trying to get the text between the tags. So far I have been successful. But sometimes when there are special characters or html tags inside my custom tags I am unable to get the text. The sample xml looks like <records> <car name='HSV Maloo' make='Holden' year='2006'> <ae_definedTermTitleBegin />Australia<ae_definedTermTitleEnd /> <ae_clauseTitleBegin />1.02 <u>Accounting Terms</u>.<ae_clauseTitleEnd /> </car> <car name='P50' make='Peel' year='1962'> <ae_definedTermTitleBegin />Isle of Man<ae_definedTermTitleEnd /> <ae_clauseTitleBegin />Smallest Street-Legal Car at 99cm wide and 59 kg