Background -- I use a NINJA Blade to record my live switch output from an ATEM. When we have a "bad switch" which needs to be changed in post, I use the Ninja's "flag" feature to simply mark the spots that need fixing. Post-event I use "Export" to create a .FCPXML file that contains these markers.
The file contains the clip-name, and for each marker, a start-time and duration (I don't actually care about duration here), and the value "reject" or "favorite" (different values apply to different versions of the NINJA). Start time is in absolute time (I believe in milliseconds)... dividing by 30000 gives the correct position relative to the start of the clip.
Need -- import this XML file into Vegas such that each clip has the markers embedded (similar to when marking clips in the trimmer). Ideally, the "reject" and "favorites" would somehow be marked differently (marker name would work fine for this).
Does anyone have any sample code which parses and imports an XML file, that could help with this?
Here's a sample snip of the XML file.
The sample can be downloaded here:
https://www.dropbox.com/s/6c34kuwo68ooyj1/NINJABLD.FCPXML?dl=0