While examining my outgoing data packet I see a copy of the message inside a
<html xmlns="http://www.w3.org/1999/xhtml"></html> tag Example: <message id="m_8" type="chat" to="[EMAIL PROTECTED]/Exodus"><body>hello back</body><html xmlns="http://www.w3.org/1999/xhtml">hello back</html></message> I was wondering how I can use this to advance my skills beyond just text messages. Right now I am just peeling the text out with XML Like so: thisXML.firstChild.childNodes[1].childNodes[0].nodeValue Q #2 Is their an easier way parse this packet? Like using the attribute names and not arrays? Thanks _______________________________________________ jdev mailing list [email protected] http://mail.jabber.org/mailman/listinfo/jdev
