private byte GetByteValue(XPathNavigator node, string attributeName) { var value = node.GetAttribute(attributeName, node.NamespaceURI); return value != string.Empty ? byte.Parse(value) : (byte)0; }