Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi All,
This is my markup:
<sim>
</sim>
I am only interested in capturing the text "some text here", ie all text that comes before any of the children of <sim>
I think <titlepg> is always the first child so I can have it stop there
Can this be done in XPATH?
Lynn, you're right, I just wanted to capture the Chapter Title and "SUPPORTING INFORMATION" so I could check the length for PDF bookmarks because there seems to be a character limit on the bookmarks and some of the titles are too long. (Actually I should have been testing a <mim>, the <sim> length is OK.) You're also right it's generated text so XPATh doesn't work. Oh well!