Don't use RQL for such thing. It will be more trouble than its worth.
Plus its really simple to do it with navigation manager:

1)Create a content class with with the following code:

<li><a href="<%!! Context:CurrentIndex.GetUrl() !!%>"><%!!
Escape:HtmlEncode(Context:CurrentIndex.Headline) !!%></a></li>

<ul><navigation:nextlevel></ul>


2) Create a navigation area and assign it the content class you
created in 1) and set it to "All Levels" and "Selected & Not
Selected".

3) Call the navigation within the body of one of your pages, wrapping
it in <ul> tags. Assuming you named the navigation "Sitemap"

<ul>
 <%!! Navigation:OutputArea(Sitemap) !!%>
</ul>

...

You can adapt this to your needs. For example you could use a xml
output instead of html lists.

Hope this helps!

Julio Canadas
[email protected]
Oshyn - OpenText Web Content Management Experts - www.oshyn.com


On May 20, 3:44 am, "Richard Hauer (5 Limes)"
<[email protected]> wrote:
> Hi Chandrasekar,
>
> Using RQL to do a sitemap is using a sledgehammer to crack a walnut.
> Either use Navigation Manager, which is perfectly suited to the task,
> or use a project variant to build an XML version of your site with
> only the placeholders that contain the structures you are interested
> in (in case your site doesn't use nav mgr or you need something more
> programmable).
>
> If you *have* to do it, reply and I'll start you off, but be warned it
> is a difficult path you choose...
>
> HTH.
>
> Regards,
> Richard Hauer
> ====================
> 5 Limes Pty Limitedwww.5Limes.com.au
>
> On May 20, 3:34 pm, chandrasekar <[email protected]> wrote:
>
> > Hi All
>
> > Is there any RQL available for displaying the page structures in the
> > Reddot project. My requirement is to create a sitemap page using rql.
>
> > Thanks & Regards
> > Chandrasekar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to