Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Help needed with SelectSingleNode method [Thread Next] Re: Help needed with SelectSingleNode methodTo: NULL Date: 2/2/2006 9:16:00 AM "Maz Alf" <mazalf@b...> wrote in message news:uVkBGR8JGHA.2012@T...... > Martin Honnon wrote : > >> With XPath the index starts with 1 so I wonder why >> //Variable[0] >> should give you any node at all. Are you using MSXML 3 and have >> forgotten to set >> xmlDocument.setProperty "SelectionLanguage", "XPath" >> before calling selectSingleNode? > > > Thanks Martin I had forgot to do the setProperty. > > Which leads me to another question. My application was working fine > (until > I had the problem) using what I thought was XPath. > > If I wasn't using XPATH, what was I using ? > > Regards, Maz > > I think it was called XSLPattern You can find out by calling xmlDocument.getProperty("SelectionLanguage") before you set it as XPath. -- Joe Fawcett (MVP - XML) https://mvp.support.microsoft.com/profile=8AA9D5F5-E1C2-44C7-BCE8-8741D22D17A5 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
