How to extract the content of an <extra>?

Hi!

I have an <extra> in my .dae file that looks like this:

<extra>
<technique profile=“NORMAL”>
<texture>
<texture>Map__3</texture>
<texcoord>CHANNEL1</texcoord>
<texelop>modulate</texelop>
</texture>
</technique>
</extra>

(this is for multi-texturing purpose)

In my code I call a getExtra() followed by a getTechnique().
Then I call recursively getContent() on daeElements.

That works to obtain the name of each element (“texture”, “texcoord”, etc.)
but I just fail to obtain the content of these tags.
I tried with the daeElement::getMeta(), getContents(), etc. but just fail.

Any help would be really appreciated,

Izidor.

cast the daeElement in domAny and try domAny::getValue() on it.

Yes, that’s it!

Thanks :slight_smile:

cast the daeElement in domAny and try domAny::getValue() on it.[/quote]