Has anyone run across a situation with XML HABTM query results where
the XML differs from the std results?    I have a Post, Tags
scenerio.  I'm using a RequestHandler setup so /post/index.xml
returns:

<post id="1" />
<post id="2" />
...

That's good. But when I do a $this->Post->Tags->Find I get:

<tag id="1">
    <post_tag id="1" />
    <post_tag id="2" />
</tag>
<tag id="2">
 ...

I didn't expect the join table to show up.  I would expected:

<tag id="1">
    <post id="1" />
    <post id="2" />
  ...

Seems like the regular array results don't include the join table.  Am
i mistaken or perhaps missing something here?

-GTM

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to