I have a Contacts controller, that I’m using to output contacts when
an index is called, but the XML that I will output for each contact
varies. I’m not having any success using :proc or :method
:method could work, but the string my method returns, escapes the <>
characters I’m using trying to “fake” XML mark-up.
Basically, each contact has many Kvs, and I only want to :include
output some KV (not all) for each contact. I can :include kvs but that
will include ALL. I cannot used proc, because there’s no way for proc
to “know” which individual contact it’s being run for.
Can anyone recommend an easy way around this?