I'm using XSLT to try to grab content from an html page. I want to select all the <p> tags but exclude all the <li> tags. There is one page where the li tags are not within any of the p tags. For this page, how can I select all p elements but leave out all li elements? I'm trying to use the Xpath exclusion notation, e.g. [not()]
weloki
0
Newbie Poster
Recommended Answers
Jump to PostWhy doesn't //p work?
You're problem isn't very well described. If you want a clear answer, please give is a stripped down sample document that we can see and use to see your problem. Along with what your desired result set looks like. Do something like this user does …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.