xsl-list
[Top] [All Lists]

XSL equivalent of SQL having

2004-09-22 09:49:46
I want to process all second level nodes that have children.  Is there an 
XPath to retrieve all nodes having children, or do I add logic to ignore 
nodes without children after the XPath has already been evaluated?

<one>
  <two>
    <three>
  </two>
  <two />
  <two>
    <three>
  </two>
</one>

Is there an XPath that will only return the first and third instances of 
<two>?