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,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 17 February 2012 15:52:11 GMT