<mountpoint> define a collection of url routes

name
mountpoint
xml namespace
http://moyaproject.com

A mountpoint defines a collection of URL *routes* which map incoming requests on to moya code.

An app will typically have at least one mountpoint with name="main" (the default) which is used when the app is mounted. Moya will check each enclosed <url> in turn until it finds a route which matches.

An app may contain multiple mountpoints, which can be mounted separately.

Example

<mountpoint name="main">
    <!-- should contain <url> tags -->
</mountpoint>
attributes
name purpose type required? default choices
name Mountpoint name unique to the application text No "main"
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes