wxXmlNode* by node name

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
frenchyates689
In need of some credit
In need of some credit
Posts: 1
Joined: Fri Sep 20, 2019 4:35 am

wxXmlNode* by node name

Post by frenchyates689 »

There's a way to get a wxXmlNode* by node name, like the GetAttribute does?
There's a reason this is not implemented?
User avatar
T-Rex
Moderator
Moderator
Posts: 1248
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Re: wxXmlNode* by node name

Post by T-Rex »

There is a GetName() method in wxXmlNode. You will need to search for it recursively, similar to how it is shown in official docs.
Post Reply