Sending XML from Javascript

I am using Ajax to send XML to an action in one of my controllers. In
Firefox I can see that the XML is being sent. The Content-Type is text/
xml. This is the XML I am sending:

<?xml version="1.0" encoding="UTF-8"?>
  <user action="UPDATE" id="1">
    <address>123 Main St.</address>
    <phone>(201) 555-1234</phone>

Looking at the request var. I can see that RAW_POST_DATA => "<<the

". However it doesn't show up in params. The action is getting

called. Isn't rails supposed to recognize the XML and create a hash
from it?