Apache Cocoon Main > Samples > Modules > BaseLink Input Module (BaseLinkModule)
 
  BaseLink Input Module (BaseLinkModule)

BaseLink Input Module (BaseLinkModule)

Returns a relative path (../, ../../, etc) linking to either the base of the current request URI or the base of the sitemap. In this demonstration, the request URI is content/baselink.xml (an internal request not equivalent to what the user sees)

AccessorValue
requestAsBase../../ 
sitemapAsBase../