Connecting Tech Pros Worldwide Forums | Help | Site Map

Re: XPath: Problem with inline elements

Richard Tobin
Guest
 
Posts: n/a
#1: Oct 6 '08
In article <eb4e5dda-302b-44cd-ba4e-ef09239d6a02@e2g2000hsh.googlegroups.com>,
Rainer <wolf.rainer@gmail.comwrote:
Quote:
><li>Before the inline element <em>Inside the inline element</emafter
>the inline element</li>
Quote:
>However, I need an XPath expression that returns the second list
>element in three "portions":
>- "Before the inline element "
>- "Inside the inline element"
>- " after the inline element"
This will return the text descendants of the <lielements:

/foo/ul/li//text()

-- Richard
--
Please remember to mention me / in tapes you leave behind.

Rainer
Guest
 
Posts: n/a
#2: Oct 6 '08

re: Re: XPath: Problem with inline elements


Hello Richard,

Thank you very much, that seems to work!

Kind regards,

Rainer
Closed Thread


Similar .NET Framework bytes