public GetGrandChildrenByKey ( string key ) : DataNode[], | ||
key | string | |
return | DataNode[], |
public static string [] GetResponsesAsArray (DataNode node) { DataNode[] responseNodes = node.GetGrandChildrenByKey(RESPONSES_TAG); string [] responses = new string[responseNodes.Length]; for (int i = 0; i < responses.Length; i++) { responses[i] = responseNodes[i][0].Value; } return responses; }