Extract / Parse Tags from Mixed Content String
- by Andreas
Hello,
i want to parse Tags from a mixed Content String. The string goes like this:
"<PERSON>yasir arafat</PERSON> , the president of the <LOCATION>palestinian authority</LOCATION> , on the defensive , mr . sharon believes , a government official"
I only want to use jaxp. Got anybody an idea for this. May an easy way with Expressions. But i need the Element names as well though.
Best Regards
Andreas