[xsl] Selecting out groups for a menu

Subject: [xsl] Selecting out groups for a menu
From: "John Hamman {Hamman Interactive}" <johnhamman@xxxxxxx>
Date: Tue, 14 Jan 2003 03:39:17 -0500
Hello all, 
I am new to xml and xsl but am quickly learning to enjoy it. I have a current project that has forced me to learn it fast. I am doing a Novell Portal Site that generates the following XML code depending on the page structure of the site(which could change)
<PageHierarchy>
<Page actualname="Portal Admin" name="Portal Admin" priority="4"/>
<Page actualname="%*communitypagename%" name="Communities" priority="5">
<Page actualname="Sales" community="y" name="Sales" priority="2147483647"/>
</Page>
<Page actualname="Portal Home" name="Portal Home" priority="0"/>
<Page actualname="Employees" name="Employees" priority="9">
<Page actualname="Health Insurance" name="Health Insurance" priority="5"/>
<Page actualname="User Profile" name="User Profile" priority="1"/>
</Page>
<Page actualname="Sales Information" name="Sales Information" priority="6">
<Page actualname="Vendor List" name="Vendor List" priority="3"/>
<Page actualname="MyFiles" name="MyFiles" priority="4"/>
<Page actualname="Spec Sheets" name="Spec Sheets" priority="2"/>
<Page actualname="Crystal Reports" name="Crystal Reports" priority="1"/>
</Page>
<Page actualname="Help" name="Help" priority="2"/>
<Page actualname="Email" name="Email" priority="1"/> </PageHierarchy>
What i would like to output is something like this.
Portal Home
Email
Help
Portal Admin
--------space----
Communities
sales
--------space----
Sales Information
Crystal Reports
Spec Sheets
Vendor List
MyFiles
--------space----
Employees
User Profile
Health Insurance
The first group contains all the pages that have no children and sorts them in order by there priority the following groups list by first the parent group as the title and then the childrens below and list them by priority. Unfortunatly this is all over my head. Im trying my best to learn the tutorials and figure out how i can do this but I am very stuck on how to group this like above. Thanks for any help or info you can give me -john


John E. Hamman
Hamman Interactive
6062 Mooretown Rd.
Williamsburg, Va 23188
b.757.565.0135
http://www.hammaninteractive.com
† 
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential and / or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email, delete this communication and destroy all copies.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread