reading out an xml (working) and returning the value as a string (not working yet)

reading out an xml (working) and returning the value as a string (not working yet)

For a site I'm working on I have a function that reads out an xml and needs to respond if an item starts with "MUZ ".

Currently I have this snippet of code:
  1. function itemCode() {
  2.       $.ajax({
  3.             type: "GET",
  4.             url: "http://ican'tsharethisurl.so/sorry.xml",
  5.             dataType: "xml",
  6.             success: function(xml) {

  7.                   // I create a variable that holds the (unique) id
  8.                   var itemcode = $(xml).find('Current itemCode'); // I create a variable holding the id

  9.                   // If this id starts with "MUZ " then I need to execute some function with the id
  10.                   // sometimes people forget to use capitals, no biggie
  11.                   if (itemcode.toString().substring(0,3).toLowerCase() == "muz ") {
  12.                         // we'll just feed back the itemcode untill I get this up and running
  13.                         $("#data").html(itemcode);
  14.                   } else {
  15.                         $("#data").html(itemcode+" is not 'MUZ '");
  16.                   }
  17.             }
  18.       });
  19. }
The problem is that it doesn't convert to a string so it always ends up als a false statement.

Now the funny part is that if I use $("#data").html(itemcode) I get 'MUZ 4528'.
If I use $("#data").html(itemcode+" is not 'MUZ '") I get '[object Object] is not 'MUZ '.

I read out the object using an iteration but I couldn't figure it out...
Can anybody help me?

part of the xml:

  1. <broadcastmonitor>
  2.             <useless elements></useless elements>
  3.             <current>
  4.                   <useless elements></useless elements>
  5.                   <itemcode>MUZ 4528</itemcode>
  6.                   <useless elements></useless elements>
  7.             </current>
  8.             <useless elements></useless elements>
  9. </broadcastmonitor>
Any ideas ?