Ok, so I have a requirement to locate xml nodes with specific details. Here's an example:
<object> <name>"test name"</name> </object>
Of course it's a simplified example, but what I'd like to do is put in some sort of wildcard details, for instance "test*", and get back a node collection with all the matching objects.
Is this something I can do readily using just the API?
asked Jun 11 '12 at 16:02
There is no method to return a collection of nodes. Here is a simple C++ code example that demonstrates how to traverse any XML document. It does not use recursion -- because recursion can blow the stack.
answered Jun 11 '12 at 22:51