Skip to main content
2 votes

How do I only get nodes with direct children?

/*/Check[Level="Warning"] The XPath you were using ./Check[Level="Warning"] returned nothing if the context is the root node. You were off by a step.
Mads Hansen's user avatar
  • 67.7k

Only top scored, non community-wiki answers of a minimum length are eligible