This is content Tree. Not all pages from footer image above appear in sitemap structure. I put the image just for you to realize what I had to do and what you might also want to achieve.
Now: according to my content, I wanted a list like this:
- About Patient Direct with childs bellow
- Program Coverage (this page as you can see in image above has Hide in navigation = yes, so for me means they are childs of About....)
- Eligibility
- Network
- About the Patient...
- Dentist Search
- Enroll Now
- Wellness
Good so how do you generate such a menu using Xslt?
Here is code I did and helped me.
< ? xml version="1.0" encoding="UTF-8" ? >
< ! DOCTYPE
xsl:stylesheet [
< ! ENTITY nbsp " ">
] >
If you need explanations about code please write it as a comment ;)


No comments:
Post a Comment