code:var IntMessagesLen = xml.getElementsByTagName("Messages").length; //How many <Message></Message> pairs
xml.getElementsByTagName("Messages")[IntMessagesLen - 1]; //This will do nothing, but you can append any function you want to do on the object (which is the last <Message></Message> pair contained in the xml file.
Hope this helps
This post was edited on 07-05-2006 at 06:51 PM by mathieumg.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator