Esempio n. 1
0
 internal static LdmlNode Select(this LdmlNode root, params NodePathEntry[] entries)
 {
     for (int i = 0; root != null && i < entries.Length; i++)
     {
         root = root.Select(entries[i].Name, entries[i].Attributes);
     }
     return(root);
 }
Esempio n. 2
0
 internal static LdmlNode Select(this LdmlNode root, params string[] entries)
 {
     for (int i = 0; root != null && i < entries.Length; i++)
     {
         root = root.Select(entries[i]);
     }
     return(root);
 }
Esempio n. 3
0
 internal static LdmlNode Select(this LdmlNode root, string name1, string name2)
 {
     return(root.Select(name1).Select(name2));
 }