How to Post Documents

This is a guide to add documents to ToS;DR where no coding experience is required. If you are more tech savvy you can open the console with fn+F12 (at least on a Mac) and find the location of the terms.

XPath_Inst

2 Likes

Can xpath be edited to include only p elements and disinclude h1, h2, etc. elements?

Yes, at least with XPath 2.0

/div/(* except h1 and * except h2)

This would be the approx. syntax to disinclude elements.
As for including ONLY p elements, that’s out of my knowledge.

2 Likes