Ejemplo 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);
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 internal static LdmlNode Select(this LdmlNode root, string name1, string name2)
 {
     return(root.Select(name1).Select(name2));
 }