The Model-Glue framework code loads some elements in the XML file by name
and others by iterating over child elements. The project reserves the right
to change how a particular XML element is loaded as long as it conforms to
the documentation, so it's of course best not to rely on tricks like the one
I just gave you.

-- Dennis

On Tue, Jan 12, 2010 at 6:41 PM, Chuck Savage <[email protected]> wrote:

>
>> PS. A peek at the XML parser code in SVN suggests there may not be
>> anything special about the names of the child elements under <views>. As a
>> fun experiment, try giving your view tags completely silly names and see if
>> your application still works.
>>
>>
>>
> Ha, that's pretty funny, just renamed my <view> to <breathtaking> and it
> works no problem.
>
> If its like C#, the sub-elements are being called by .Descendants() instead
> of by specific named elements such as .Elements("View")... I couldn't quote
> CF XML usage to save my life, but C# no problem.
>
> --
> Chuck Savage
> http://SeaRisen.com
>
>
-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to