How to get array from CCMutableDictionary

Hello,
I try to convert some code from Objective-C to C**.
There is this construction:
<pre>
NSDictionary* dict
NSArray* children = ;
</pre>
and C** alternative:

CCDictionary* dict
CCMutableArray* children = (CCMutableArray*) dict->objectForKey("children");

Here is part of xml file whitch was parsed into dict:

    nodeGraph
    
        children
        
            
                children
                
...

children->count() is 0.

Is there other alternative, how to get array from CCMutableDictionary, or number of children?

Thanks for help.

MG

Sorry that the format of xml file which you are using is not supportted by cocos2d-x now.
The function CCFileUtils::dictionaryWithContentsOfFile() can’t parse the xml file which use a dict as a member of an array.

We have an issue #524 to resolve this bug. And the feature will be released in cocos2d-0.99.5-x-0.8.5 in a few days.
Or you can get the latest CCFileUtils.cpp file on github. Then you can parse the xml file as you expected.

Hope it’s helpful!

Thanks for advice. The version from github works.

MG