hi all can someone please tell me how i convert a string to xml, so that i can iterate through it and grab the elements and their values
e.g. if my string is this
String xml = "<person><firstname>first</firstname><lastname>first</lastname></person>";
i want to iterate through to get the firstname and lastname elements and then get their vlaues
thanks for any help