cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linczak, Jonathan W." <>
Subject Read file and use it's contents in pipeline?
Date Fri, 18 Feb 2005 19:56:06 GMT

This is probably a really simple question, but I didn't find any quick answers, so I really
hope you can help.

Say I have a very simple XML file (simple.xml) with the following contents:

  <option>Some value</option>

I would like to create a pipeline that reads the XML file above, and then use it in the pipeline,
perhaps like this:

  <map:match pattern="something">
    <map:read src="simple.xml"/>
    <map:redirect-to url="{value inside <option>

Any way to grab the contents of the file read and use it in the pipeline?


View raw message