Apache Forrest > Plugins
Plugin: listLocations input
Font size:      

Welcome to the org.apache.forrest.plugin.input.listLocations Plugin

listLocations Plugin

This plugin uses lists of locations maintained in a simple xml format and transforms them to documents.

Either add the document type declaration to the xml instance (Forrest will automatically respond to it), or use URIs of the form *locations.html (i.e. any URI ending with "locations.html"). See Samples.

The following input produces this output.

<locations title="Some golf driving ranges">

  These are some golf driving ranges in Australia.

  <title>Albert Park Driving Range</title> 
    Aughtie Drive, Albert Park. 3004. Victoria.

  <title>Australasian Golf Academy</title> 
    Robina Woods Golf Course. Ron Penhaligon Way, Robina, Queensland.
    <note>A base for the academy training activities and open to the public.</note>