Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
February 2, 2005, 2:20 am
rate this thread
- Jukka K. Korpela
February 2, 2005, 11:05 am
Re: How to parse overlapping string in a HTML file and modify the string?...@@.
> I have the following string in a HTML:
That's not HTML, except in a horrendously loose "HTML tag soup" sense.
By HTML rules, elements cannot overlap.
> How to write java codes to parse "<a>XXXX<b></a>YYYYY</b>"
> and then output"<a>XXXX</a><b>YYYYY</b>"
That's certainly off-topic here. We discuss authoring, not programming.
P.S. Is this some kind of an assignment in a course?
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html