XMLChildCount)

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Ludo
User
User
Posts: 40
Joined: Thu Oct 16, 2008 12:55 pm
Location: Belgium-Tiegem

XMLChildCount)

Post by Ludo »

Hi,

I think it would be nice to add a extra parameter to XMLChildCount() to make it :

XMLChildCount(*Node,Recursive=#False)

By default, XMLChildCount would only count the direct children from a parent node, with Recursive=#True, it would recursively count all children and grand-children etc ...

That would save me some coding :lol:

Ludo
Env
Enthusiast
Enthusiast
Posts: 151
Joined: Tue Apr 27, 2010 3:20 pm
Location: Wales, United Kingdom

Re: XMLChildCount)

Post by Env »

I like that idea.
Thanks!
Post Reply