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

Xpath XML File Input Module (XPathXMLFileModule)

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

AccessorValue
/*/base-urlhttp://localhost:8787/cocoon 
/forrestconf/@version1.0 
/forrestconf/skinforrest-site 
a/*/base-urlhttp://localhost:8786/cocoon 
a/forestconf/@version1.0 
a/forrestconf/skintest-site