XML, DOM model

Is there method that can convert String into XML formated message?
[73 byte] By [andrej23a] at [2007-10-2 20:09:19]
# 1
Please be more specific.
jfbrierea at 2007-7-13 22:49:49 > top of Java-index,Java Essentials,New To Java...
# 2
I have a String (date and time) and I need to convert it into XML formated object using DOM model. I hope you'll understand
andrej23a at 2007-7-13 22:49:49 > top of Java-index,Java Essentials,New To Java...
# 3
This sounds like the FAQ from the XML forum, which asks how to feed a Java string into a DOM parser.parser.parse(new InputSource(new StringReader(theStringContainingYourXML)));
DrClapa at 2007-7-13 22:49:49 > top of Java-index,Java Essentials,New To Java...