Validating xml nodes, not the entire document
I'm working with some xml 'snippets' that form elements down the xml. I have the schema but I cannot validate these files because they are not complete xml documents. These snippets are wrapped with the necessary parent elements to form valid xml when they are used in other tools so I don't have much option in making them into valid xml or in changing the schema. Is it possible to validate an element, rather than the whole document? If not, what workarounds could be suggested? I'm working in C# with .NET 2.0 framework. I had a similar problem where I could only validate parts of my XML