JAXB / targeting specific XML element
in
Programming Questions
•
2 years ago
This is my first post. Hallo welt!
I'm moving an as3 prototype into processing as all my tests seem to show the render engine betters flash, despite everything I've read. I was really disappointed at processing's native XML functionality but JAXB has solved some problems. I worked through Toxi's tutorial and extended it out with experimentation but now I'm stumped...
I've got a stack of data and need to be able to target specific nodes / elements based on an ID or a string… everything I've read suggests this can be done without traversing the whole dataset. In as3 it was as easy as:
xmlData.objects.type.(@id==reference);
I'm not expecting a like-for-like solutions -- I'd love one! -- but any pointers here would be smashing. I'm diving into processing head first and loving it, but this is really key.
1