
9. A COLLADA Toolbox 117
Here are a few examples of useful queries:
node—list all the <node> elements in the document;
node[@id]—list all the <node> elements in the document that have an id;
def:node[@id="camera1"]—find the <node> element with a specific id;
def:node[@id="camera1"]/..—find the parent element for the <node> ele-
ment with a specific id
Here’s another example from checking an issue with a C4D COLLADA export.
The coherency test reports ERROR: (type=node,id=ID206) bind_material does
not exist. Let’s use those parameters in an XPath query. As this is a standard
query language let’s use XML Notepad this time (see Figure 9.12).
The query looks