Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Problem with XPath expression in Word 2007 >Thread Next - Re: Problem with XPath expression in Word 2007 Re: Problem with XPath expression in Word 2007To: NULL Date: 10/7/2008 4:13:00 PM Rainer wrote: > However, it doesn't seem to work with VBA. The content control doesn't > change its text when I use > > strXPath = "/foo/ul/li[2]/text()[1]" > > inside of bind_nodes(). > > Any ideas? I am not familiar with Word's XML features, maybe someone is microsoft.public.office.xml so I suggest you ask there. Other than that I can only suggest to check Word's documentation whether it allows binding to text nodes as that is what the XPath expression you have posted selects. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
