simple (non-xml) pipeline parameters?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

simple (non-xml) pipeline parameters?

Adrian Baker
Is is possible to invoke a pipeline with a simple non-xml parameter, eg
a string identifier, or a boolean flag? Or must these always be
encapsulated in an xml document?




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: simple (non-xml) pipeline parameters?

Hank Ratzesberger

As I understand, the inputs and outputs to
pipelines must always be xml "infosets",
documents basically.  I think the answer is
yes, always encapsulated in a document.

A processor can do other things besides
translate xml, such as the image processor
or the exec processor.

Cheers,
Hank
UCSB

----- Original Message -----
From: "Adrian Baker" <[hidden email]>
To: <[hidden email]>
Sent: Monday, December 18, 2006 7:51 PM
Subject: [ops-users] simple (non-xml) pipeline parameters?


> Is is possible to invoke a pipeline with a simple non-xml parameter, eg
> a string identifier, or a boolean flag? Or must these always be
> encapsulated in an xml document?
>
>
>


--------------------------------------------------------------------------------


>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: simple (non-xml) pipeline parameters?

Erik Bruchez
Administrator
In reply to this post by Adrian Baker
Adrian,

As Hank pointed out, XPL only supports XML "documents" or rather
"infosets". So you must always encapsulate non-XML data within an XML
document to pass it to a pipeline.

Note that the XProc spec we are developing at W3C will have support for
parameters, which I think is what you are looking for.

-Erik

Adrian Baker wrote:
> Is is possible to invoke a pipeline with a simple non-xml parameter, eg
> a string identifier, or a boolean flag? Or must these always be
> encapsulated in an xml document?

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws