Handling tags 2003-08-28 - By Jaladurgam, Ramana
Hello, I know this question is a out of scope of this list. But, I choose to write this here because there will be a lot of tag parsing experts here. The problem here: I have a String returned from some program and it can contain <U></U><B></B> and <I></I> tags. Meaning some thing like : <B>H</B>E<U>LL</U>O. The string returned may or not may not contain the tags. If they contain the tags, then I need to get the embeded token from it. I am also required to do error handling like 1. There should be atleast one token between the tags, if there are tags. 2. The tag should be properly used. Meaning no start tag without end tag etc. I don't want to use SAXhandler or DOM parser for this small strings. Plan to do String processing. Please suggest me the solutions. I am new to Java.
Regards Ramana.JV.
**************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. ****************************************************************************
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|