Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Looking for simple XPath [Thread Next] Re: Looking for simple XPathTo: NULL Date: 4/1/2006 12:34:00 AM ddevogel wrote: > I'm sure this is very simple but could someone please help me with the/an > xpath expression that would return the string 'bar' from the following xhtml > snippet? Thanks in advance. > > <td><b>foo</b>bar</td> td/b/following-sibling::text() or td/text() But these only apply to this exact example. If some other table cells contain other mixtures of text and markup, other rules will be needed. ///Peter -- XML FAQ: http://xml.silmaril.ie/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
