repeatU, repeatV

I can’t seem to get repeat values out of textures contained in a blinn. I can find the daeElements with the correct field-names(repeatU,repeatV) using the domBlinn/domTechnique structures , but not the associated floating-point values. To illustrate the value I’m trying find I have this excerpt from my dae-file: (float value of 10.3, ‘repeatU’). Thanks for any help…

blinn>
−<emission>
<color>0 0 0 1</color>
</emission>
−<ambient>
<color>0 0 0 1</color>
</ambient>
−<diffuse>
−<texture texture=“file1-sampler” texcoord=“TEX0”>
−<extra>
−<technique profile=“MAYA”>
<wrapU>1</wrapU>
<wrapV>1</wrapV>
<mirrorU>0</mirrorU>
<mirrorV>0</mirrorV>
<coverageU>1</coverageU>
<coverageV>1</coverageV>
<translateFrameU>0</translateFrameU>
<translateFrameV>0</translateFrameV>
<rotateFrame>0</rotateFrame>
<stagger>0</stagger>
<fast>0</fast>
<repeatU>10.3</repeatU>
<repeatV>1</repeatV>
<offsetU>0</offsetU>
<offsetV>0</offsetV>
<rotateUV>0</rotateUV>
<noiseU>0</noiseU>
<noiseV>0</noiseV>
<blend_mode>NONE</blend_mode>
</technique>
</extra>
</texture>

Since it’s in an <extra> it’ll be a domAny object.

if (element->getElementType() == COLLADA_TYPE::ANY) {
  istringstream stream(((domAny*)element)->getValue());
  float f;
  stream >> f;
}

See this for more info.