add xmpp_stanza_get_child_by_path()
... to provide an easier way to find long paths. After looking at some code in profanity-im/profanity#1605 I thought this could help to make libstrophe-user code easier to write (and read). Initially it started off as `xmpp_stanza_get_child_by_xpath()` but then I was annoyed when it came to handling all those potential corner cases like e.g. escaping URL's in the ns ... so here we go with a vararg approach :) Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in: