Dashboard > RIFE > ... > Web engine > Full declaration of elements in the site structure
RIFE Log In | Sign Up   View a printable version of the current page.
Full declaration of elements in the site structure


Added by Geert Bevin, last edited by Geert Bevin on Mar 16, 2005
Labels: 
(None)

You are not forced to declare each element in a separate file, even if you chose to use XML for the definition of your site structure.

The XML site structure supports all the element declaration statements in-line. So if it doesn't make sense for you to have re-usable declarations, you can just centralize everything in one file.

For example, this is such a Hello World site structure:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE site SYSTEM "/dtd/site.dtd">
<site>
    <element id="HELLOWORLD" implementation="tutorial.helloworld.HelloWorld" url="/home"/>
</site>



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators