Game Development Reference
In-Depth Information
Figure 9.3. Visual Studio can search .dae documents.
COLLADA documents can be very large. It is not rare to have .dae files that are
50 MB or larger, which would be impossible to manipulate if edited as a single line
of text, so we are going to need more specialized editing tools. There are several
XML editors, most of them commercial tools such as Altova XMLSpy and Oxygen
XML Editor, which are two of the best available XML tools, but are probably too
sophisticated and expensive for our current purpose.
One free option free is an open source tool from Microsoft, XML Notepad
[Microsoft 07a]. Let's install it (Microsoft) and open the duck-err2.dae file as
shownin Figure9.4 .
We are immediately presented with a very different interface. The left side of
the editor represents the tree hierarchy of the COLLADA document, the right side
shows the content of the corresponding element in the left side. This XML editor
is also very good at dealing with large XML documents. It will open a 50 MB
document in a few seconds.
The validator told us that we have an invalid cam child element of the
library_cameras element. So we simply can expand the library_cameras el-
ement in the hierarchy, and we should find the faulty cam element. Navigating
 
Search WWH ::




Custom Search