Title: Read file and use it's contents in pipeline?

OK,

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:

<roottag>
  <option>Some value</option>
</roottag>

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

<map:pipeline>
  <map:match pattern="something">
    <map:read src="">     <map:redirect-to url="" href="http://www.someplace.com/test.php?id=">http://www.someplace.com/test.php?id={value inside <option> tag}"/>
  </map:match>
</map:pipeline>

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

Jon

Reply via email to