Sorry for the vague title. Here's an example of what I'd like to do.
<book>
The Lord of the Rings
<author>JRR Tolkien</author>
</book>
$xml.find("book").each(function()
{
$(this).text();
});
$(this).text(); returns not only "The Lord of the Rings" but also ... and any other nodes inside . I'm looking for a consistant way to return only "The Lord of the Rings" or whatever information i have in there.