From the collada exmples I’ve seen that include formulas, all of them use xmlns:math and include a
xmlns:math=“MathML Namespace”
attribute in the COLLADA tag. I’ve tried to do this in collada-dom with no success by:
daeSafeCast<domCOLLADA>(doc->getDomRoot())->setAttribute(“xmlns:math”,“MathML Namespace”);
The problem is that collada-dom limits the attributes that could be set. In the end I ended up modifying and using a local copy of collada-dom with the xmlns:math attribute added in domCOLLADA.cpp.
Is there a better way to do this?
rosen,