R
robertj
hi,
can anybody tell me how i can configure
the xml output when using "render :xml => a_ref_list"?
i have a problem that for example the active record
property ref_id is transformed into
<ref-id> the value </ref-id>.
also i would like to have more control on what list
tags are created.
for example if i have a list of Reference objects
"render :xml => list_references" creates
<references>
<reference>
...
</reference>
<reference>
...
</reference>
</references>
thanks
ciao robertj
can anybody tell me how i can configure
the xml output when using "render :xml => a_ref_list"?
i have a problem that for example the active record
property ref_id is transformed into
<ref-id> the value </ref-id>.
also i would like to have more control on what list
tags are created.
for example if i have a list of Reference objects
"render :xml => list_references" creates
<references>
<reference>
...
</reference>
<reference>
...
</reference>
</references>
thanks
ciao robertj