D
Darrel
I have the hierarchical menu structure for my site stored in an XML file.
I have a page where a person can select from a list of all pages from a
dropDownList. I'd like the list to echo the visual hierarchy of the menu.
So, I'd like it to look like this:
Home
- Secondary
- Secondary
- - Tertiary
- Secondary
I can easily read the XML file and populate the dropDownList. Is there a
practical way to add the indent? Is there a way to read the 'node depth' of
each record pulled in from an XML file?
-Darrel
I have a page where a person can select from a list of all pages from a
dropDownList. I'd like the list to echo the visual hierarchy of the menu.
So, I'd like it to look like this:
Home
- Secondary
- Secondary
- - Tertiary
- Secondary
I can easily read the XML file and populate the dropDownList. Is there a
practical way to add the indent? Is there a way to read the 'node depth' of
each record pulled in from an XML file?
-Darrel