W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2012

Re: Passing JAXP Source objects to Calabash?

From: Norman Walsh <ndw@nwalsh.com>
Date: Fri, 17 Feb 2012 10:51:37 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2fwe931bq.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:
>   Is there any way to provide a JAXP Source object (I am sure you know
> what I am talking about :-p) to Calabash instead of a URI to compile a
> pipeline (e.g. to XProcRuntime.load())?

If you build an XdmNode out of the Source, you can call
XProcRuntime.use() instead of load(). Is that sufficient?

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676

Received on Friday, 17 February 2012 15:52:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:02 UTC