[xsl] A way to test only top level nodes to see if they have children

Subject: [xsl] A way to test only top level nodes to see if they have children
From: "Voltmer, Steve T" <voltmer1@xxxxxxxxxxxxxxx>
Date: Tue, 28 Aug 2012 14:49:27 +0000
I have a navigation list that I am assigning links to every /parent node that
doesn't have children. Every nested list (children of the top level parents)
needs to have links assigned to them always. Only effecting the top level
nodes on the test is hard for me to grasp. Any help?

Eg: (for when top level nav has children)
home (no link assigned)
Child (link assigned)
Child (link assigned)
	Grandchild (link assigned)
Child (link assigned)

Eg:  (for when top level nav has no children)
Some Top Level Nav (no link assigned)



Steve Voltmer
Web Assistant
Marketing and Communications
PHONE:    812-877-8644
FAX:         812-877-8362
                    

Room 121
5500 WABASH AVENUE
TERRE HAUTE, IN  47803-3920
www.rose-hulman.edu

Current Thread