Multiple models questions

No sorry I dont need to make a view.
I have this already for shouts and photos.

I only need to find a way to make the corrent xml file like i posted
already!

Do i have to use XML builder to make the xml like i want?

On Aug 14, 11:20 pm, Alpha B. [email protected]

On Aug 17, 9:05 pm, Colin L. [email protected] wrote:

2009/8/14 Wouter [email protected]:

Have you tried providing some virtual members of your model that make
that data accessible in the way that you want, then using to_xml and
specifying only the virtual members to be used? I don’t know if this
will work but it is worth a try.

If that doesn’t work out then created a xml builder template isn’t
hard.

Fred

2009/8/14 Wouter [email protected]:

 Â
system/photo/image/20/14njk8w.jpg

Have you tried providing some virtual members of your model that make
that data accessible in the way that you want, then using to_xml and
specifying only the virtual members to be used? I don’t know if this
will work but it is worth a try.

Colin

2009/8/17 Wouter [email protected]:

Thank you for your answer!

Â
   <profile_id type=“integer”>1</profile_id>
that data accessible in the way that you want, then using to_xml and
specifying only the virtual members to be used? Â I don’t know if this
will work but it is worth a try.

Colin

Hey,

No I havent tried this, how do i have to do this? Can you give me an
example?

Which part do you have the problem with?

Colin

2009/8/17 Wouter [email protected]:

And can I create an xml builder template for the xml i want? And if
yes, can  you give me an example please…

Can I ask how much research (google etc) you did on xml builder
templates before asking this question, you can’t expect people to jump
about providing examples when you have not even tried to work it out
for yourself.

Fred, sorry for jumping in with this, exasperation is growing.

Colin

And can I create an xml builder template for the xml i want? And if
yes, can you give me an example please…

Wouter

On Aug 17, 9:14 pm, Wouter [email protected] wrote:

And can I create an xml builder template for the xml i want? And if
yes, can you give me an example please…

you can create arbitrary xml with builder. examples on the builder
homepage

Fred