jQuery removes <title> tag when parsing XML

jQuery removes <title> tag when parsing XML

For the life of me i cannot figure this one out, i have the following XML data

<?xml version="1.0" encoding="UTF-8"?>
<deal>
      <title>adasd</title>
      <cost>3</cost>
</deal>

when i try to parse with using jQuery i get the following result

> $(data).html()
= <cost>3</cost>

What is happening to the <title> element? How can i get that data?