Sitemap configuration

XSite can be easily configured using an XML-based sitemap:

<sitemap>
    <section>
        <name>About XSite</name>
        <page>index.html</page>
        <page>license.html</page>
        <page>download.html</page>
        <page>plugins.html</page>
        <page>news.html</page>
        <page>changes.html</page>
        <page>versioning.html</page>
    </section>
    <section>
        <name>Using XSite</name>
        <page>faq.html</page>
        <page>list-user.html</page>
        <link title="JavaDoc">javadoc/index.html</link>
        <link title="Reporting Issues">http://jira.codehaus.org/browse/XSITE</link>
    </section>
    <section>
        <name>Developing XSite</name>
        <page>list-dev.html</page>
        <page>team.html</page>
        <page>repository.html</page>
    </section>
</sitemap>

Each page element corresponds to an HTML file in the content directory. The HTML content files are read from the same directory in which sitemap is found.

The sitemap filename is configurable but must be found in the content directory.