Random photo
Loading...
Domains for sale
|
January 18, 2004The Name Of The BeastSomehow many believe it's impossible to get OuterXml/InnerXml out of XPathNavigator, but in fact it's merely one-screen-of-code class. And by the way, in System.Xml v2 XPathDocument2 class does have such properties already. So I've written a small class, which exposes this omitted functionality. It's lightweight wrapper around XPathNavigator, which adds two more properties - OuterXml and InnerXml along with two more methods - WriteTo(XmlWriter) and WriteContentTo(XmlWriter). January 18, 2004 12:15 PM
| #XML in .NET
Comments
It's too loud name for one-screen-of-code class :) Btw, afaik XmlNavigator was the first name of XPathNavigator, probably Dare should know this story better. Posted by: Oleg Tkachenko at January 20, 2004 10:49 PMHow about XmlNavigator? After all it's a navigator but exposes Xml like the XmlDocument ;) Posted by: kzuAT@NOaspnet2SPAM.com (Daniel Cazzulino) at January 20, 2004 10:43 PMWell, but it's not writer. It's XPathNavigator. XPathNavWriter or XPathNodeWriter Posted by: Pin at January 20, 2004 12:47 AMPost a comment
|