Create rxml file


#1

Hi All

#controller:
@users=User.find(:all,:conditions=>[“id=12”])
@faxs=FaxService.find(:all,:conditions=>["user_id=12 "])

My view is generate like this:

<?xml version="1.0" encoding="UTF-8"?> 303 302 301 305 US removed_email_address@domain.invalid 12 4087723792

But i want like this
#View .rxml

<?xml version="1.0" encoding="UTF-8"?> US removed_email_address@domain.invalid 12 4087723792 < access_number_id type="integer">303 302 301 305

can some one tell me how to generate xml file?