I'm not sure what's going on, but if you access the XML string, you can
REALLY easily parse it using xml_in:

*xml_in*(string = nil, options = nil)

Converts an XML document in the same way as the Perl module XML::Simple.
string:XML source. Could be one of the following:

   - nil: Tries to load and parse '<scriptname>.xml'.
   - filename: Tries to load and parse filename.
   - IO object: Reads from object until EOF is detected and parses
   result.
   - XML string: Parses string.


Good luck,

-Matt

-- 
            --------
blog: http://railsontherun.com

On 9/28/07, Chris Griffin <[EMAIL PROTECTED]> wrote:
>
> I've been pulling out massive amounts of hair on this one. I have a
> page that sends XML to a controller. The XML is being POSTed by an
> Ajax.Request call. The XML is seen in request.RAW_POST_DATA but it
> doesn't show up in params. I've tried putting the XML as both an
> option and as the content of the POST. Neither works. According to
> Rails Recipes rails should parse the XML and turn it into a hash in
> params. Any ideas?
>
>
> Thanks
> Chirs
>
> _______________________________________________
> Sdruby mailing list
> [email protected]
> http://lists.sdruby.com/mailman/listinfo/sdruby
>
_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to