Re: [xml-dev] Nasty XPath expressions

From
Jason Diamond <>
To
xml-dev <>
Date
2001-12-14T19:13:02Z
ID
<009d01c184d3$5e14c570$03265fa6@ck3162154a>
Thread
Re: [xml-dev] Nasty XPath expressions
> I don't think .NET's XML DOM API has any method
> analogous to Oracle's .valueOf(<XPathExpression>)

The .NET DOM (System.Xml.XmlDocument) doesn't have anything like it but
there's a new class, System.Xml.XPath.XPathNavigator, that gets returned
when you call CreateNavigator on an XmlDocument. The XPathNavigator class
has an Evaluate method that can return a number, boolean, string, or
node-set.

Jason.