-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
search a value in my xml file ? #14
Comments
Do yo already know the path to the |
I don't know the exact location (with indexes)
maybe xml_easy_child not support when i have 2 node with same name (in mu example i have 2 "function" node)
if i have 1 node "function", it's work without error, but i have many "function" node
like this:
do you have a solution? |
The solution to your problem will most likely be a recursive search. Let me hack something together for your :-) |
ok,Thank you very much for your help |
Take a look at test-huitre39.c. The function This is you you use this function in order to find your
I hope this solves your problem :-) |
it's work properly, thank you very much !!! |
It's quite a special usecase and since it just returns the first element instead of all, I'm hesitant. I will however merge the test so it's ensured that the function will work properly in the future, too. Glad to help and thank you for using xml.c! |
Hello, i use your library for readxml file.
But i have a problem, i want to search a value by node name like this code :
in this code, i want to get value of my node "us" for example, in root/Functions/function/us
but how can i make this, because i have many Function node.
thanks for advance for your help
The text was updated successfully, but these errors were encountered: