protected SubrecordBase(Group node) { if (node.name.StartsWith("&#x")) { string[] val = node.name.Split(new[] {';'}, 2, StringSplitOptions.None); var c = (char) int.Parse(val[0].Substring(3), NumberStyles.HexNumber, null); name = c + val[1]; } else name = node.name; repeat = node.repeat; optional = node.optional; desc = node.desc; }
public SubrecordGroup(Group node, SubrecordBase[] items) : base(node) { elements = items; }