Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XpathNavigator with classic Asp [Thread Next] Re: XpathNavigator with classic AspTo: NULL Date: 4/1/2007 6:47:00 AM
On 31 Mar, 13:49, "Joe Fawcett" <joefawc...@newsgroup.nospam> wrote:
> XmlDocument is a .NET class and can't be used directly in classic ASP. You
> can use MSXML2.DomDocument.6.0. Download the MSXML core services sdk for
> examples.
>
> --
>
> Joe Fawcett (MVP - XML)http://joe.fawcett.name
>
> "Ghena" <lastminute...@gmail.com> wrote in message
>
> news:1175338743.336062.244890@q......
>
> > I'm try to use Xpathnavigator with classic asp but
> > it returns me an error:
>
> > XmlDocument doc = new XmlDocument()
> > doc.Load("myfile.xml")
> > XPathNavigator nav = doc.CreateNavigator()
> > XPathExpression expr = nav.Compile("Sum(/Room/NumAdults");
> > total = nav.Evaluate(expr)
>
> > the error...
> > Expected end of statement
>
> > myfile.asp, line 4
>
> > XmlDocument doc = new XmlDocument()
> > ---------------------------------^
>
> > I dont know if Xpathnavigator can bu used by vbscript... or Jscript...
>
> > Could you advice me...
> > Thanks a lot.
Thanks a lot...
but why jessica alba ?
:)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
