Selecting Nodes in XSD schema using Xpath
问题 I have the following code that I wish to use to select all the elements I will need in a certain sequence. Here's the snippet: XmlDocument schema = new XmlDocument(); schema.Load(SchemaFileName); XmlNamespaceManager xnm = new XmlNamespaceManager(schema.NameTable); xnm.AddNamespace("xs", "http://www.w3.org/2001/XMLSchema"); XmlNodeList list = schema.SelectNodes(Path); However, I'm not sure what I should write as the path. Ideally I want to select all the child nodes of the "sequence" tag, but