1242 {
1243 switch (name)
1244 {
1245 case "xml":
1246 return "http://www.w3.org/XML/1998/namespace";
1247 case "xmlns":
1248 return "http://www.w3.org/2000/xmlns/";
1249 default:
1250 if (
name.Length == 0)
1251 {
1253 }
1254 break;
1255 case null:
1256 break;
1257 }
1263 {
1264 while (
xmlNode !=
null && (nodeType =
xmlNode.NodeType) != XmlNodeType.Element)
1265 {
1266 xmlNode = ((nodeType != XmlNodeType.Attribute) ?
xmlNode.ParentNode : ((XmlAttribute)
xmlNode).OwnerElement);
1267 }
1269 {
1272 {
1274 }
1276 }
1277 }
1278 return string.Empty;
1279 }
string GetNamespace(XmlBoundElement be, string name)