AnsweredAssumed Answered

How to get sub-nodes of a node ? (node names)

Question asked by msevestre on Jul 31, 2009
Latest reply on Jul 31, 2009 by jayjayecl
Hello

could somebody indicate me a Javascript methode that mat give me the subnode names when a script in run on a parent directory (not recursive, only first level is asked).

For example, I have a structure:
Parent_Space
|—— SubSpace1
|—— SubSpace2
|—— SubSpace3

I would like to have something that may give me a list of containing the 3 strings "SubSpace1", "SubSpace2" and "SubSpace3" when i execute a script at "Parent_Space" level.

Thanks for any  help !

Regards
Matt

Outcomes