public GetAttribute ( string name, string namespaceURI ) : string | ||
name | string | |
namespaceURI | string | |
리턴 | string |
public override string GetAttribute(string name, string namespaceURI)
{
namespaceURI = (namespaceURI == null) ? string.Empty : _coreReaderNameTable.Get(namespaceURI);
name = _coreReaderNameTable.Get(name);
ValidatingReaderNodeData attribute;
for (int i = 0; i < _attributeCount; i++)
{
attribute = _attributeEvents[i];
if (Ref.Equal(attribute.LocalName, name) && Ref.Equal(attribute.Namespace, namespaceURI))
{
return attribute.RawValue;
}
}
return null;
}
XsdCachingReader::GetAttribute ( int i ) : string | |
XsdCachingReader::GetAttribute ( string name ) : string |