Peter,

You have to use the URLGenerator explicitly. The generator takes a config in the form:

<config>url</config>

You can either generate this small document using XSLT, or with a
simple aggregate/xpointer expression as below:

<p:processor uri="oxf/processor/url">
  <p:input name="config"
      href="aggregate('config',#files#xpointer(string(/files/rules))"/>
  <p:output name="rules"/>
</p:processor>

You can then use #rules as input to any processor.

Regards,
Julien

Peter Charles wrote:

Hi,

I am trying to find a good way to submit file paths to a pipeline.  If
have a pipeline that has an input of <p:param name="files"
type="input"/> and what is connected to the input is xml that looks like
this

<files>
        <rules>oxf:/app/rules/somerules.xml</rules>
        <xpath>oxf:/app/xpath/somexpath.xml</xpath>
</files>

how can I grab these file paths and use them as input to another
processor.  I have tried doing this:
<p:input name="config" href="#files#xpointer(string(/files/rules/.))"/>

Which should give the string somerules.xml but the processor rejects
this a file reference. Is there a good way to send file references into
a pipeline as a param input?

Thanks

peter





_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users


_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to