Yes that did work but it shows all of the 2nd level nodes, and i just want each section to show instead of the whole lot ..
Im not sure if that makes sense but thats the only way i know how to explain it.
But I'm not sure I have understood your requirement properly. If this doesn't work, can you post an example site structure and then what nodes you want to be returned.
navigation to start from the 2nd level
Im new to Umbraco and i have been working on some navigation and i want the navigation to start from the 2nd level.
i have been trying everything.. this is the original code i have been working from to try and change to work but i just cant get it.
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library" xmlns:Exslt.ExsltCommon="urn:Exslt.ExsltCommon" xmlns:Exslt.ExsltDatesAndTimes="urn:Exslt.ExsltDatesAndTimes" xmlns:Exslt.ExsltMath="urn:Exslt.ExsltMath" xmlns:Exslt.ExsltRegularExpressions="urn:Exslt.ExsltRegularExpressions" xmlns:Exslt.ExsltStrings="urn:Exslt.ExsltStrings" xmlns:Exslt.ExsltSets="urn:Exslt.ExsltSets"
exclude-result-prefixes="msxml umbraco.library Exslt.ExsltCommon Exslt.ExsltDatesAndTimes Exslt.ExsltMath Exslt.ExsltRegularExpressions Exslt.ExsltStrings Exslt.ExsltSets ">
Thanks for the Help !!!! i need it
try this:
Yes that did work but it shows all of the 2nd level nodes, and i just want each section to show instead of the whole lot ..
Im not sure if that makes sense but thats the only way i know how to explain it.
Thanks
OK, what you may need instead is:
But I'm not sure I have understood your requirement properly. If this doesn't work, can you post an example site structure and then what nodes you want to be returned.
Cheers
Paul
That code returned an error,
Here is an example of my navigation :
(this is the secondary navigation on my site)
Top level - Home
- 2nd
- 2nd
- 2nd
- 3rd
- 3rd
- 4th
- 4th
- 3rd
- 2nd
Top level - About
- 2nd
- 2nd
- 2nd
- 3rd
- 4th
- 2nd
So this is what my navigation looks like atm and i just wanted the 2nd level and onwards like this
- 2nd
- 2nd
- 2nd
- 3rd
- 3rd
- 4th
- 4th
- 3rd
- 2nd
- 2nd
- 2nd
- 2nd
- 3rd
- 4th
- 2nd
I hope this makes more sense i really appreciate the help !!!!!!!!!!!!!!!
Please is anyone able to help me with this problem ??
Hey, I missed your reply back on the 6th - Sorry about that.
I'm still not sure what it is you are after. At another guess it might be:
Have you seen this page:
http://umbraco.org/documentation/books/xslt-basics/xpath-axes-and-their-shortcuts
It is a very good explanation of how to move around the XML node structure.
If the above still doesn't work could you try posting an image of your content structure as I may be missing something obvious
Cheers
Not pretty, but it works
Edit: ...Mostly!
[code]
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" exclude-result-prefixes="msxml
umbraco.library">
[/code]
Thank you everone that helped with this problem !!!
ddrayne you code worked !!!! im so excited !! thank you so much
is working on a reply...