Apache Cocoon Main > Samples > Modules > XML File Input Module (XMLFileModule)
 
  XML File Input Module (XMLFileModule)

XML File Input Module (XMLFileModule)

XMLFileModule uses an XML file as a data source, with XPath expressions as the key values. In this example, the keys identify nodes in context://samples/modules/forrestconf.xml

Accessor Value
/*/base-url http://localhost:8787/cocoon 
/forrestconf/@version 1.0 
/forrestconf/skin forrest-site