'Is there a way to read the content of an element without automatically skipping to the next element in xml?

I'm trying to read the content of an element that also has child objects I need to read, but using XmlReader.ReadContentAs will automatically skip to the next element. I'm currently using the XmlReader in c#.

Is there another way to read the content of an element without skipping to the next element?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source