Given the string \"Hello World!\", what is the (easiest) way to get a DOM Element represent
\"Hello World!\"
you could use HTML Parser, which a Java library used to parse HTML in either a linear or nested fashion. It is an open source tool and can be found on SourceForge