Xpath Expression list
Where can I find a list of proper Xpath expressions with what each does?
For instance, I want to que the TOC on the word "Chapter " in a document that has no heading attributes.
I found that
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']
does not do it. Surely there is an expression that will find one word. Surely someone has compiled a list of expressions.
Yes, I know there is a lot of tech talk in the helps: (tags, expressions, classes), but that is precisely the problem. Besides the weird syntax to attempt to remember, every explanation uses words that themselves need explaining and I simply can't remember it enough to put everything together.
Guys with great memories will have problems with my saying that. The usual comment assumes laziness. They'll say, "Just read it!" Well I'm sorry, when your brain is made of chicken wire, when you've had issues, "Just read it!" doesn't get it.
List?
|