public override string GetAttribute( string name ) {
if ( !InAttributeActiveState ) {
return null;
}
string attr = reader.GetAttribute( name );
if ( attr != null ) {
return attr;
}
for ( int i = 0; i < nsAttrCount; i++ ) {
if ( name == nsAttributes[i].name ) {
return nsAttributes[i].value;
}
}
return null;
}