# Parsing Rails XML on Flex

**URL:** <https://www.ruby-forum.com/t/parsing-rails-xml-on-flex/167097>\
**Category:** Rails\
**Created:** [May 4, 2009, 12:08am UTC](https://www.ruby-forum.com/t/parsing-rails-xml-on-flex/167097 "2009-05-04T00:08:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturaz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/73ab20/32.png) [@arturaz](https://www.ruby-forum.com/u/arturaz)\
**Post date:** [May 4, 2009, 12:08am UTC](https://www.ruby-forum.com/t/parsing-rails-xml-on-flex/167097/1 "2009-05-04T00:08:30Z")

</div>

Hello,

I’m currently toying with Rails/Flex app and I noticed that even that  
Rails returns XML with all type data I still have to do such tedious  
things like parseInt(event.result.user.age) in AS.

Perhaps anyone knows if there is a solution to have types automatically  
typecasted in Flex?
