void TiXmlElement::SetAttribute( const char * name, unsigned int val ) { TiXmlAttribute* attrib = attributeSet.FindOrCreate( name ); if ( attrib ) { attrib->SetUnIntValue( val ); } }