AFAIK there is no existing xpath traversal machinery in Cocoon that we could reuse.
JFYI,
<!-- Xpath Processor: -->
<xpath-processor class="org.apache.excalibur.xml.xpath.XPathProcessorImpl"
logger="core.xpath-processor"/>Vadim
