Efficient way to read large XML into dfferent node types in C#
问题 I am new to C#. I have a relatively large XML file (28MB) and am trying to parse its subtrees into several different types based on their content. Essentially, I have 6900+ Content nodes that all have to be interrogated to figure out what type they are. <Collections> <Content>..</Content> <Content>..</Content> <Content>..</Content> ... </Collections> For each Content node, the variety of nodes below it can have 1 of 3 different patterns. I have to look into the node to decide which pattern