this problem also exists in v 1.2.0.6311. I believe this may be a bug
but not positive. -bmiles

On Jan 15, 12:36 am, bMilesp <[EMAIL PROTECTED]> wrote:
> hello, i'm using the xmlhelper to convert a findall() array, with
> Model associations, into XML. Everything works as planned, except that
> the name of the xml nodes that are model associations are labeled
> <std_class />instead of <modelName /> if they are nested within
> another xml node and contain values. eg:
>
> <service_day day_id="14088" day="56" use_type_id="1"
> created="0000-00-00 00:00:00">
>       <service_time />
>       <service_weather_type />
> </service_day>
> <service_day day_id="16034" day="" use_type_id="2" created="2007-11-12
> 09:54:41">
>       <std_class time_id="108" day_id="16034" created="2007-11-12
> 09:54:41">
>             <std_class time_price_id="105" created="2007-11-12
> 09:54:41" isCost="0" />
>       </std_class>
> <service_weather_type />
> </service_day>
>
> as you can see, service_day is preserved as well as
> service_time,service_weather_type if they contain no values. But if
> they do contain any values, the node name becomes std_class. Anyone
> know how to keep the associated name for the node? thx in advance.
>
> -bmiles
> cake v. 1.2.0.5875

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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