RE: [xsl] XSL equivalent of SQL having

Subject: RE: [xsl] XSL equivalent of SQL having
From: cknell@xxxxxxxxxx
Date: Wed, 22 Sep 2004 13:00:45 -0400
Yes.

select="two[*]"
-- 
Charles Knell
cknell@xxxxxxxxxx - email



-----Original Message-----
From:     john-xsl-list <john-xsl-list@xxxxxxxx>
Sent:     Wed, 22 Sep 2004 12:49:46 -0400
To:       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  [xsl] XSL equivalent of SQL having

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>?

Current Thread