Jump to content

Recommended Posts

Hi All, How to get the text() in between first child's preceding-sibling? I would like to check whether any texts between <Para><UnorderedList> and </UnorderedList></Para>. i.e 1: <Para><UnorderedList Mark="None"><ItemContent><Para>sample text</Para></ItemContent> <ItemContent><Para>sample text</Para></ItemContent></UnorderedList>sample text2</Para> i.e 2: <Para>sample text<UnorderedList Mark="None"><ItemContent><Para>sample text</Para></ItemContent><ItemContent><Para>sample text</Para></ItemContent></UnorderedList></Para> Note: first child my be any element name where i have given as a example. Regards,Selvakumar

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...