Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Evan 344 posts 99 karma points
    Apr 21, 2009 @ 17:36
    Evan
    0

    HTML sitemap confusion

    I am trying to display my sitemap and I am having a problem. I have to be over looking something somewhere. My site layout is as follows

    Home
    --about us
    --media
    ----gallery
    ------image
    ----gallery 2
    ------image
    --contact
    Sitemap

    (Sitemap is not a child of home) so I have this code:
    [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]

    and this displays:
    Home
    About
    Gallery
    Gallery 2
    Contact

    Now all I need it to do is display the images that are under gallery (the 3rd level) but no matter what I try I can not get it to work. Any ideas? I can use this code:
    [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]
    And get everything shown, but I want to have it where if the link is a child than it is indented 10px and this is only indenting those that have children but not the children them selves. Any ideas on how I can manipulate either of these code sets to get it to work correctly?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies